I am waiting for #613 fix to add this case to test suite.
@spacefrogg I would say this is expected behavior since patches could be independent and pijul
is patch-based system.
Follow this scenario:
$ pijul init p1
$ cd p1
$ touch a
$ pijul add a
$ pijul record -am"."
Hash: ROPD2OGR2TOUCOMYEYA7OK4BR2QCBVF7EVVU34KLVWW6EE2NNIXAC
$ touch b
$ pijul add b
$ pijul record -am"."
Hash: P73PSVHLSP2PNB77FQUC4MPEO6KRRRYJWQB4QCLVO65IDXHUNOTAC
$ pijul channel new m1
$ pijul apply ROP --channel m1
$ pijul channel switch m1
Outputting repository ↖
$ ls -l
total 0
-rw-r--r-- 1 mpech mpech 0 jan 29 14:19 a
-rw-r--r-- 1 mpech mpech 0 jan 29 14:19 b
$ pijul ls
a
$ pijul diff --short
U b
$
You should use tag
to tie independent branches and apply it as snapshot-based branch.
I would expect that a change’s dependencies get pulled automatically.