view tests/test-mq-symlinks.out @ 9586:d08099e74b81

patch: handle symlink updates/replacements (issue1785)
author Patrick Mezard <pmezard@gmail.com>
date Thu, 15 Oct 2009 23:15:30 +0200
parents ea1935e2020a
children a981ddb16b80
line wrap: on
line source

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 updating a symlink
a -> c
now at: symlink.patch
applying updatelink
patching file a
a
now at: updatelink
a -> c
% test replacing a symlink with a file
now at: addlink
applying replacelinkwithfile
now at: replacelinkwithfile
sss
% test symlink removal
now at: replacelinkwithfile
applying removesl.patch
now at: removesl.patch
C b
C c
C s