Mercurial > hg
diff tests/test-share.t @ 15080:574dc5d74f9b
test: test unshare command
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 13 Aug 2011 00:08:26 +0200 |
parents | 6cc4b14fb76b |
children | a21ccf4412d5 |
line wrap: on
line diff
--- a/tests/test-share.t Thu Aug 11 00:04:00 2011 +0200 +++ b/tests/test-share.t Sat Aug 13 00:08:26 2011 +0200 @@ -97,3 +97,21 @@ -rw-r--r-- 2 b + +test unshare command + + $ hg unshare + $ test -d .hg/store + $ test -f .hg/sharedpath + [1] + $ hg unshare + abort: this is not a shared repo + [255] + +check that a change does not propagate + + $ echo b >> b + $ hg commit -m'change in unshared' + $ cd ../repo1 + $ hg id -r tip + c2e0ac586386 tip