Mercurial > hg
diff tests/test-share.t @ 23614:cd79fb4d75fd
share: add option to share bookmarks
This patch adds the -B/--bookmarks option to the share command added by the
share extension. All it does for now is create a marker, 'bookmarks.shared',
that will be used by future code to implement the sharing functionality.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Sat, 13 Dec 2014 11:32:46 -0800 |
parents | 141baca16059 |
children | 4d2b9b304ad0 |
line wrap: on
line diff
--- a/tests/test-share.t Wed Dec 17 13:25:24 2014 -0600 +++ b/tests/test-share.t Sat Dec 13 11:32:46 2014 -0800 @@ -129,9 +129,9 @@ $ cd .. -test sharing bookmarks (manually add bookmarks.shared file for now) +test sharing bookmarks - $ hg share repo1 repo3 && touch repo3/.hg/bookmarks.shared + $ hg share -B repo1 repo3 updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd repo1 @@ -212,7 +212,7 @@ test behavior when sharing a shared repo - $ hg share repo3 repo5 && touch repo5/.hg/bookmarks.shared + $ hg share -B repo3 repo5 updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd repo5