The sound distributed version control system

#702 [CONSISTENCY, DISASTER, fork-kernels.sh] work dir modified without my will

Closed on February 27, 2023
tankf33der on July 25, 2022

Conjoint twin from [#701].

$ ./fork-kernels.sh 
+ source ./functions.sh
+ cd ..
+ rm -rf pijul-tests-data
+ mkdir pijul-tests-data
+ cd pijul-tests-data
+ pijul init repo
+ cd repo
+ tar -xJf ../../pijul-tests/kernel/linux-2.0.1.tar.xz --strip-components=1
+ stat Makefile
  File: Makefile
  Size: 9589      	Blocks: 24         IO Block: 4096   regular file
Device: 254,0	Inode: 133141      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/   mpech)   Gid: ( 1001/   mpech)
Access: 2022-07-25 12:45:13.086220468 +0300
Modify: 1996-06-10 08:15:28.000000000 +0300
Change: 2022-07-25 12:45:13.086220468 +0300
 Birth: 2022-07-25 12:45:13.086220468 +0300
+ add
+ pijul add -r .
+ record
+ pijul record -am.
+ head Makefile
VERSION = 2
PATCHLEVEL = 0
SUBLEVEL = 1

ARCH = i386

#
# For SMP kernels, set this. We don't want to have this in the config file
# because it makes re-config very ugly and too many fundamental files depend
# on "CONFIG_SMP"
+ pijul fork 2
+ pijul channel switch 2
Outputting repository ←                                                                                                  
+ tar -xJf ../../pijul-tests/kernel/linux-2.0.2.tar.xz --strip-components=1
+ stat Makefile
  File: Makefile
  Size: 9589      	Blocks: 24         IO Block: 4096   regular file
Device: 254,0	Inode: 133141      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/   mpech)   Gid: ( 1001/   mpech)
Access: 2022-07-25 12:45:15.726309229 +0300
Modify: 1996-07-03 22:06:38.000000000 +0300
Change: 2022-07-25 12:45:15.726309229 +0300
 Birth: 2022-07-25 12:45:15.726309229 +0300
+ add
+ pijul add -r .
+ record
+ pijul record -am.
Nothing to record
+ pijul channel switch main
Outputting repository ←                                                                                                  
+ head Makefile
VERSION = 2
PATCHLEVEL = 0
SUBLEVEL = 2

ARCH = i386

#
# For SMP kernels, set this. We don't want to have this in the config file
# because it makes re-config very ugly and too many fundamental files depend
# on "CONFIG_SMP"
+ echo OK--fork-kernels
OK--fork-kernels
$
tankf33der on July 25, 2022

I run head Makefile two times in main channel and it modified in second run. I assume both run must returns the same output.

+ head Makefile
VERSION = 2
PATCHLEVEL = 0
SUBLEVEL = 1

ARCH = i386

SUBLEVEL must be 1.

pmeunier on February 27, 2023

This is fixed, the last record works. It is still the same issue as #701 I believe.

pmeunier closed this discussion on February 27, 2023