comparison tests/test-notify-changegroup.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 4441705b7111
children 5abc47d4ca6b
comparison
equal deleted inserted replaced
39479:3ba87d5b9ad3 39480:89630d0b3e23
83 $ hg --cwd a unbundle ../test.hg 83 $ hg --cwd a unbundle ../test.hg
84 adding changesets 84 adding changesets
85 adding manifests 85 adding manifests
86 adding file changes 86 adding file changes
87 added 2 changesets with 2 changes to 1 files 87 added 2 changesets with 2 changes to 1 files
88 new changesets cb9a9f314b8b:ba677d0156c1 88 new changesets cb9a9f314b8b:ba677d0156c1 (2 drafts)
89 (run 'hg update' to get a working copy) 89 (run 'hg update' to get a working copy)
90 $ hg --cwd a rollback 90 $ hg --cwd a rollback
91 repository tip rolled back to revision -1 (undo unbundle) 91 repository tip rolled back to revision -1 (undo unbundle)
92 92
93 unbundle with correct source 93 unbundle with correct source
96 > $PYTHON -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")' 96 > $PYTHON -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
97 adding changesets 97 adding changesets
98 adding manifests 98 adding manifests
99 adding file changes 99 adding file changes
100 added 2 changesets with 2 changes to 1 files 100 added 2 changesets with 2 changes to 1 files
101 new changesets cb9a9f314b8b:ba677d0156c1 101 new changesets cb9a9f314b8b:ba677d0156c1 (2 drafts)
102 MIME-Version: 1.0 102 MIME-Version: 1.0
103 Content-Type: text/plain; charset="us-ascii" 103 Content-Type: text/plain; charset="us-ascii"
104 Content-Transfer-Encoding: 7bit 104 Content-Transfer-Encoding: 7bit
105 Date: * (glob) 105 Date: * (glob)
106 Subject: * (glob) 106 Subject: * (glob)