[darcs-devel] [issue2640] darcs rollback filename: no patches selected

Ben Franksen bugs at darcs.net
Tue Feb 18 08:35:30 UTC 2020


New submission from Ben Franksen <ben.franksen at online.de>:

There is something wrong with file name based patch selection for
rollback. If a patch touches file1 and file2, and another patch depends
on it but only modifies file2, then 'darcs rollback file1' tells us
there are no patches selected. This is clearly wrong.

Here is how to reproduce:

rm -rf R
darcs init R
cd R
echo text > file1
echo text > file2
darcs record -lam file1and2
echo othertext > file2
darcs record -am onlyfile2
darcs rollback -a file1 | tee LOG
not grep -i 'No patches' LOG
darcs whatsnew | tee LOG
grep text LOG
cd ..

This goes back to at least darcs-2.12.5.

----------
files: pEpkey.asc
messages: 21851
nosy: bf
status: unknown
title: darcs rollback filename: no patches selected

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2640>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 4211 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20200218/2ebe21c3/attachment-0001.key>


More information about the darcs-devel mailing list