Mercurial > hg-stable
diff tests/test-narrow-pull.t @ 41045:7db1619af061
tests: add test for narrow+share
For how narrow+share is supposed to work, see
https://www.mercurial-scm.org/wiki/NarrowSharePlan.
Differential Revision: https://phab.mercurial-scm.org/D5276
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 13 Jul 2018 11:26:46 -0700 |
parents | f1186c292d03 |
children | 5c2a4f37eace |
line wrap: on
line diff
--- a/tests/test-narrow-pull.t Mon Dec 10 10:39:48 2018 -0800 +++ b/tests/test-narrow-pull.t Fri Jul 13 11:26:46 2018 -0700 @@ -150,25 +150,3 @@ rollback completed abort: pull failed on remote [255] - -Can use 'hg share': - $ cat >> $HGRCPATH <<EOF - > [extensions] - > share= - > EOF - - $ cd .. - $ hg share narrow2 narrow2-share - updating working directory - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ cd narrow2-share - $ hg status - -We should also be able to unshare without breaking everything: - $ hg unshare - $ hg verify - checking changesets - checking manifests - crosschecking files in changesets and manifests - checking files - checked 1 changesets with 1 changes to 1 files