Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-pull @ 1747:91c56c427171
transitive copy/rename
Add support for transitive copy or rename operations, e.g.
hg rename a b
... (possibly edit b)
hg rename b c
hg commit ...
by actually renaming "b" as "c" while recording a copy of
"a" to "c" and a removal of "a".
author | Robin Farine <robin.farine@terminus.org> |
---|---|
date | Sat, 18 Feb 2006 07:37:59 -0800 |
parents | 385b06493465 |
children | ffb584a182d1 |
line wrap: on
line source
#!/bin/sh mkdir test cd test echo foo>foo hg init hg addremove hg commit -m 1 hg verify serverpid=`mktemp` hg serve -p 20059 -d --pid-file=$serverpid cd .. hg clone http://localhost:20059/ copy cd copy hg verify hg co cat foo hg manifest hg pull kill `cat $serverpid` rm $serverpid