diff tests/test-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 f442c9494ec7
children 1857f50a9643
line wrap: on
line diff
--- a/tests/test-strip.t	Fri Sep 07 23:54:42 2018 -0400
+++ b/tests/test-strip.t	Thu Aug 30 01:53:21 2018 +0200
@@ -220,7 +220,7 @@
   adding manifests
   adding file changes
   added 1 changesets with 0 changes to 1 files (+1 heads)
-  new changesets 264128213d29
+  new changesets 264128213d29 (1 drafts)
   (run 'hg heads' to see heads, 'hg merge' to merge)
   $ rm .hg/strip-backup/*
   $ hg log --graph
@@ -1123,7 +1123,7 @@
   adding manifests
   adding file changes
   added 2 changesets with 1 changes to 1 files
-  new changesets 35358f982181:4cf5e92caec2
+  new changesets 35358f982181:4cf5e92caec2 (2 drafts)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
   $ hg strip -k -r 35358f982181