##// END OF EJS Templates
patch: handle symlinks without symlinkhunk...
patch: handle symlinks without symlinkhunk Symlink creations and deletions were handled with a special symlinkhunk object, working like a binary hunk. However, this model does not support symlink updates or replacements, so we teach regular hunks how to handle symlinks.

File last commit:

r9585:ea1935e2 default
r9585:ea1935e2 default
Show More
test-mq-symlinks.out
12 lines | 234 B | text/plain | TextLexer
/ tests / test-mq-symlinks.out
a -> a not a symlink
% test replacing a file with a symlink
a -> b
now at: base.patch
applying symlink.patch
now at: symlink.patch
a -> b
% test symlink removal
now at: symlink.patch
applying removesl.patch
now at: removesl.patch
C b