Mercurial > hg > mercurial-source
diff tests/test-symlinks @ 5071:35d47b06d4e3
patch: add git symlink support
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 04 Aug 2007 23:07:52 -0700 (2007-08-05) |
parents | 25d753efd48e |
children | c52057614c72 |
line wrap: on
line diff
--- a/tests/test-symlinks +++ b/tests/test-symlinks @@ -72,3 +72,13 @@ echo '2. clone it' cd .. hg clone test testclone + +echo '# git symlink diff' +cd testclone +hg diff --git -r null:tip +hg export --git tip > ../sl.diff +echo '# import git symlink diff' +hg rm a/b/c/demo +hg commit -m'remove link' +hg import ../sl.diff +hg diff --git -r 1:tip