comparison tests/test-graft.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 2f89a7defe62
children 3c0d5016b2be 3bc2e550f2bd
comparison
equal deleted inserted replaced
39479:3ba87d5b9ad3 39480:89630d0b3e23
1877 requesting all changes 1877 requesting all changes
1878 adding changesets 1878 adding changesets
1879 adding manifests 1879 adding manifests
1880 adding file changes 1880 adding file changes
1881 added 11 changesets with 9 changes to 8 files (+4 heads) 1881 added 11 changesets with 9 changes to 8 files (+4 heads)
1882 new changesets 9092f1db7931:6b98ff0062dd 1882 new changesets 9092f1db7931:6b98ff0062dd (6 drafts)
1883 (run 'hg heads' to see heads, 'hg merge' to merge) 1883 (run 'hg heads' to see heads, 'hg merge' to merge)
1884 $ hg up 9 1884 $ hg up 9
1885 5 files updated, 0 files merged, 0 files removed, 0 files unresolved 1885 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
1886 $ echo w > w 1886 $ echo w > w
1887 $ hg ci -Aqm "added w" --config phases.publish=False 1887 $ hg ci -Aqm "added w" --config phases.publish=False
1892 searching for changes 1892 searching for changes
1893 adding changesets 1893 adding changesets
1894 adding manifests 1894 adding manifests
1895 adding file changes 1895 adding file changes
1896 added 1 changesets with 1 changes to 1 files (+1 heads) 1896 added 1 changesets with 1 changes to 1 files (+1 heads)
1897 new changesets 311dfc6cf3bf 1897 new changesets 311dfc6cf3bf (1 drafts)
1898 (run 'hg heads .' to see heads, 'hg merge' to merge) 1898 (run 'hg heads .' to see heads, 'hg merge' to merge)
1899 1899
1900 $ hg graft --abort 1900 $ hg graft --abort
1901 new changesets detected on destination branch, can't strip 1901 new changesets detected on destination branch, can't strip
1902 graft aborted 1902 graft aborted