Mercurial > hg
comparison tests/test-symlinks @ 5116:35d47b06d4e3
patch: add git symlink support
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 04 Aug 2007 23:07:52 -0700 |
parents | 25d753efd48e |
children | c52057614c72 |
comparison
equal
deleted
inserted
replaced
5115:5023af9fcba4 | 5116:35d47b06d4e3 |
---|---|
70 hg stat | 70 hg stat |
71 hg commit -A -m 'add symlink in a/b/c subdir' | 71 hg commit -A -m 'add symlink in a/b/c subdir' |
72 echo '2. clone it' | 72 echo '2. clone it' |
73 cd .. | 73 cd .. |
74 hg clone test testclone | 74 hg clone test testclone |
75 | |
76 echo '# git symlink diff' | |
77 cd testclone | |
78 hg diff --git -r null:tip | |
79 hg export --git tip > ../sl.diff | |
80 echo '# import git symlink diff' | |
81 hg rm a/b/c/demo | |
82 hg commit -m'remove link' | |
83 hg import ../sl.diff | |
84 hg diff --git -r 1:tip |