comparison tests/test-strip.t @ 34661:eb586ed5d8ce

transaction-summary: show the range of new revisions upon pull/unbundle (BC) Upon pull or unbundle, we display a message with the range of new revisions fetched. This revision range could readily be used after a pull to look out what's new with 'hg log'. The algorithm takes care of filtering "obsolete" revisions that might be present in transaction's "changes" but should not be displayed to the end user.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Thu, 12 Oct 2017 09:39:50 +0200
parents 5613fb1583d6
children a0100f34e20b
comparison
equal deleted inserted replaced
34660:d00ec62d156f 34661:eb586ed5d8ce
221 searching for changes 221 searching for changes
222 adding changesets 222 adding changesets
223 adding manifests 223 adding manifests
224 adding file changes 224 adding file changes
225 added 1 changesets with 0 changes to 0 files (+1 heads) 225 added 1 changesets with 0 changes to 0 files (+1 heads)
226 new changesets 264128213d29
226 (run 'hg heads' to see heads, 'hg merge' to merge) 227 (run 'hg heads' to see heads, 'hg merge' to merge)
227 $ rm .hg/strip-backup/* 228 $ rm .hg/strip-backup/*
228 $ hg log --graph 229 $ hg log --graph
229 o changeset: 4:264128213d29 230 o changeset: 4:264128213d29
230 | tag: tip 231 | tag: tip
1112 searching for changes 1113 searching for changes
1113 adding changesets 1114 adding changesets
1114 adding manifests 1115 adding manifests
1115 adding file changes 1116 adding file changes
1116 added 2 changesets with 1 changes to 1 files 1117 added 2 changesets with 1 changes to 1 files
1118 new changesets 35358f982181:4cf5e92caec2
1117 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 1119 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1118 1120
1119 $ hg strip -k -r 35358f982181 1121 $ hg strip -k -r 35358f982181
1120 saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg (glob) 1122 saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg (glob)
1121 $ hg log -G 1123 $ hg log -G