Mercurial > hg
diff tests/test-obsolete-bundle-strip.t @ 39480: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 | 1a09dad8b85a |
children | f9232b0310ef |
line wrap: on
line diff
--- a/tests/test-obsolete-bundle-strip.t Fri Sep 07 23:54:42 2018 -0400 +++ b/tests/test-obsolete-bundle-strip.t Thu Aug 30 01:53:21 2018 +0200 @@ -207,7 +207,7 @@ # unbundling: added 1 changesets with 1 changes to 1 files (+1 heads) # unbundling: 2 new obsolescence markers # unbundling: obsoleted 1 changesets - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) $ testrevs 'desc("C-A")' @@ -247,7 +247,7 @@ # unbundling: adding file changes # unbundling: added 2 changesets with 2 changes to 2 files (+1 heads) # unbundling: 3 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) chain with prune children @@ -374,7 +374,7 @@ # unbundling: added 1 changesets with 1 changes to 1 files (+1 heads) # unbundling: 1 new obsolescence markers # unbundling: obsoleted 1 changesets - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) bundling multiple revisions @@ -436,7 +436,7 @@ # unbundling: adding file changes # unbundling: added 3 changesets with 3 changes to 3 files (+1 heads) # unbundling: 3 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) chain with precursors also pruned @@ -537,7 +537,7 @@ # unbundling: adding file changes # unbundling: added 1 changesets with 1 changes to 1 files (+1 heads) # unbundling: 1 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) $ testrevs 'desc("C-A")' @@ -577,7 +577,7 @@ # unbundling: adding file changes # unbundling: added 2 changesets with 2 changes to 2 files (+1 heads) # unbundling: 3 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg heads' to see heads) chain with missing prune @@ -661,7 +661,7 @@ # unbundling: adding file changes # unbundling: added 1 changesets with 1 changes to 1 files # unbundling: 3 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg update' to get a working copy) chain with precursors also pruned @@ -741,7 +741,7 @@ # unbundling: adding file changes # unbundling: added 1 changesets with 1 changes to 1 files # unbundling: 3 new obsolescence markers - # unbundling: new changesets cf2c22470d67 + # unbundling: new changesets cf2c22470d67 (1 drafts) # unbundling: (run 'hg update' to get a working copy) Chain with fold and split @@ -984,7 +984,7 @@ # unbundling: added 1 changesets with 1 changes to 1 files (+1 heads) # unbundling: 6 new obsolescence markers # unbundling: obsoleted 3 changesets - # unbundling: new changesets 2f20ff6509f0 + # unbundling: new changesets 2f20ff6509f0 (1 drafts) # unbundling: (run 'hg heads' to see heads) Bundle multiple revisions @@ -1086,7 +1086,7 @@ # unbundling: added 2 changesets with 2 changes to 2 files (+2 heads) # unbundling: 7 new obsolescence markers # unbundling: obsoleted 2 changesets - # unbundling: new changesets 2f20ff6509f0 + # unbundling: new changesets 2f20ff6509f0 (1 drafts) # unbundling: (run 'hg heads' to see heads) * top one and initial precursors @@ -1154,7 +1154,7 @@ # unbundling: added 2 changesets with 2 changes to 2 files (+2 heads) # unbundling: 6 new obsolescence markers # unbundling: obsoleted 3 changesets - # unbundling: new changesets 2f20ff6509f0 + # unbundling: new changesets 2f20ff6509f0 (1 drafts) # unbundling: (run 'hg heads' to see heads) * top one and one of the split @@ -1223,7 +1223,7 @@ # unbundling: added 2 changesets with 2 changes to 2 files (+2 heads) # unbundling: 7 new obsolescence markers # unbundling: obsoleted 2 changesets - # unbundling: new changesets 2f20ff6509f0 + # unbundling: new changesets 2f20ff6509f0 (1 drafts) # unbundling: (run 'hg heads' to see heads) * all @@ -1298,7 +1298,7 @@ # unbundling: adding file changes # unbundling: added 5 changesets with 5 changes to 5 files (+4 heads) # unbundling: 9 new obsolescence markers - # unbundling: new changesets 2f20ff6509f0 + # unbundling: new changesets 2f20ff6509f0 (1 drafts) # unbundling: (run 'hg heads' to see heads) changeset pruned on its own @@ -1400,5 +1400,5 @@ # unbundling: adding file changes # unbundling: added 2 changesets with 2 changes to 2 files # unbundling: 1 new obsolescence markers - # unbundling: new changesets 9ac430e15fca + # unbundling: new changesets 9ac430e15fca (1 drafts) # unbundling: (run 'hg update' to get a working copy)