Mercurial > hg
comparison hgeditor @ 13069:6aff4f144ad3 stable 1.7.2
keyword: copy: when copied source is a symlink, follow it
1) hg cp symlink copy -> copy is a symlink.
2) cp symlink copy; hg cp -A symlink copy -> copy is a regular file.
In the second case we have to follow the symlink to its target
to find out whether we have to unexpand keywords in the copy.
Add test covering the case where the copied link's target is ignored
by keyword but has content which would match the regex for expanded
keywords to check whether we indeed leave the destination alone.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 01 Dec 2010 10:51:49 +0100 |
parents | 2b440bb8a66b |
children | 1aee2ab0f902 |
comparison
equal
deleted
inserted
replaced
13068:adff480db558 | 13069:6aff4f144ad3 |
---|