Mercurial > hg
changeset 15080:574dc5d74f9b
test: test unshare command
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 13 Aug 2011 00:08:26 +0200 |
parents | ea96bdda593c |
children | d30ec2d16c5a |
files | tests/test-share.t |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
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