##// END OF EJS Templates
addremove: correctly handle intermediate symlinks...
addremove: correctly handle intermediate symlinks This fixes problems mentioned in issue660 comments (unrelated to original issue) where directory was renamed, and symlink was added instead. In such situation addremove wasn't able to correctly detect that old files no longer here, but tried to add symlink (and failed due collision with old files).

File last commit:

r6518:92ccccb5 default
r6651:7f0dd352 default
Show More
test-add.out
39 lines | 575 B | text/plain | TextLexer
Benoit Boissinot
make hg add of a removed file unremove the file...
r5207 adding a
? a
adding a
A a
A a
? b
A a
A b
% should fail
b already tracked!
A a
A b
% should fail
a already tracked!
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Dirkjan Ochtman
warn about new heads on commit (issue842)
r6336 created new head
Matt Mackall
merge: allow smarter tool configuration...
r6004 merging a
Benoit Boissinot
make hg add of a removed file unremove the file...
r5207 warning: conflicts during merge.
merging a failed!
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
There are unresolved merges, you can redo the full merge using:
hg update -C 2
hg merge 1
M a
Matt Mackall
merge: allow smarter tool configuration...
r6004 ? a.orig
Benoit Boissinot
make hg add of a removed file unremove the file...
r5207 % should fail
a already tracked!
M a
Matt Mackall
merge: allow smarter tool configuration...
r6004 ? a.orig
Benoit Boissinot
make hg add of a removed file unremove the file...
r5207 % issue683
R a
Matt Mackall
merge: allow smarter tool configuration...
r6004 ? a.orig
Benoit Boissinot
make hg add of a removed file unremove the file...
r5207 M a
Matt Mackall
merge: allow smarter tool configuration...
r6004 ? a.orig
Patrick Mezard
commands: add exits(1) if a specified file cannot be added (issue 891)
r5688 c does not exist!
d does not exist!
M a
A c
Matt Mackall
merge: allow smarter tool configuration...
r6004 ? a.orig