[darcs-devel] [issue1481] darcs record gets confused by move and add of the same file
Nathaniel Filardo
bugs at darcs.net
Wed Jun 17 21:59:51 UTC 2009
New submission from Nathaniel Filardo <nwf at cs.jhu.edu>:
I have a source tree in which I have moved a file, changed it, and added a file
back at the old name:
$ darcs w -s
./src/joshua/e2e/scripts/joshua/AlignedSubsampler.java ->
./src/joshua/e2e/scripts/joshua/Subsampler.java
A ./src/joshua/e2e/scripts/joshua/AlignedSubsampler.java
M ./src/joshua/e2e/scripts/joshua/Subsampler.java -16 +20
If I feed this to record with no files specified, it asks about 13 changes:
$ darcs record
move ./src/joshua/e2e/scripts/joshua/AlignedSubsampler.java
./src/joshua/e2e/scripts/joshua/Subsampler.java
Shall I record this change? (1/13) [ynWvplxdaqjk], or ? for help:
If I give the files by name (in either order), it only asks about 11. The two
missing questions are about the addfile and the hunk for the file's contents.
$ darcs record ./src/joshua/e2e/scripts/joshua/AlignedSubsampler.java
./src/joshua/e2e/scripts/joshua/Subsampler.java
Recording changes in "src/joshua/e2e/scripts/joshua/AlignedSubsampler.java"
"src/joshua/e2e/scripts/joshua/Subsampler.java":
move ./src/joshua/e2e/scripts/joshua/AlignedSubsampler.java
./src/joshua/e2e/scripts/joshua/Subsampler.java
Shall I record this change? (1/11) [ynWvplxdaqjk], or ? for help:
----------
messages: 7915
nosy: dmitry.kurochkin, kowey, nwf, simon, thorkilnaur
priority: bug
status: unread
title: darcs record gets confused by move and add of the same file
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1481>
__________________________________
More information about the darcs-devel
mailing list