Mercurial > public > mercurial-scm > hg-stable
diff tests/test-censor.t @ 39497:89630d0b3e23
phase: report number of non-public changeset alongside the new range
When interacting with non-publishing repository or bundle, it is useful to
have some information about the phase of the changeset we just pulled.
This changeset updates the "new changesets MIN:MAX" output to also includes
phases information for non-public changesets. Displaying extra data about
non-public changesets means the output for exchange with publishing repository
(the default) is unaffected.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 30 Aug 2018 01:53:21 +0200 |
parents | 8c37c3220ebc |
children | f1186c292d03 |
line wrap: on
line diff
--- a/tests/test-censor.t Fri Sep 07 23:54:42 2018 -0400 +++ b/tests/test-censor.t Thu Aug 30 01:53:21 2018 +0200 @@ -426,7 +426,7 @@ adding manifests adding file changes added 2 changesets with 2 changes to 2 files (+1 heads) - new changesets 075be80ac777:dcbaf17bf3a1 + new changesets 075be80ac777:dcbaf17bf3a1 (2 drafts) (run 'hg heads .' to see heads, 'hg merge' to merge) $ hg cat -r $REV target $ hg cat -r $CLEANREV target @@ -461,7 +461,7 @@ adding manifests adding file changes added 6 changesets with 5 changes to 2 files (+1 heads) - new changesets efbe78065929:683e4645fded + new changesets efbe78065929:683e4645fded (6 drafts) (run 'hg heads .' to see heads, 'hg merge' to merge) $ hg update $H2 2 files updated, 0 files merged, 0 files removed, 0 files unresolved @@ -487,6 +487,6 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files - new changesets e97f55b2665a + new changesets e97f55b2665a (1 drafts) (run 'hg update' to get a working copy) $ hg cat -r 0 target