tests/test-mq-symlinks.out
author Patrick Mezard <pmezard@gmail.com>
Thu, 15 Oct 2009 23:15:30 +0200
changeset 9585 ea1935e2020a
parent 7627 fb32ae9c76e7
child 9586 d08099e74b81
permissions -rw-r--r--
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.

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