Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
39479:3ba87d5b9ad3 | 39480:89630d0b3e23 |
---|---|
218 $ hg unbundle .hg/strip-backup/* | 218 $ hg unbundle .hg/strip-backup/* |
219 adding changesets | 219 adding changesets |
220 adding manifests | 220 adding manifests |
221 adding file changes | 221 adding file changes |
222 added 1 changesets with 0 changes to 1 files (+1 heads) | 222 added 1 changesets with 0 changes to 1 files (+1 heads) |
223 new changesets 264128213d29 | 223 new changesets 264128213d29 (1 drafts) |
224 (run 'hg heads' to see heads, 'hg merge' to merge) | 224 (run 'hg heads' to see heads, 'hg merge' to merge) |
225 $ rm .hg/strip-backup/* | 225 $ rm .hg/strip-backup/* |
226 $ hg log --graph | 226 $ hg log --graph |
227 o changeset: 4:264128213d29 | 227 o changeset: 4:264128213d29 |
228 | tag: tip | 228 | tag: tip |
1121 $ hg unbundle -u $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | 1121 $ hg unbundle -u $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
1122 adding changesets | 1122 adding changesets |
1123 adding manifests | 1123 adding manifests |
1124 adding file changes | 1124 adding file changes |
1125 added 2 changesets with 1 changes to 1 files | 1125 added 2 changesets with 1 changes to 1 files |
1126 new changesets 35358f982181:4cf5e92caec2 | 1126 new changesets 35358f982181:4cf5e92caec2 (2 drafts) |
1127 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 1127 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1128 | 1128 |
1129 $ hg strip -k -r 35358f982181 | 1129 $ hg strip -k -r 35358f982181 |
1130 saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | 1130 saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
1131 $ hg log -G | 1131 $ hg log -G |