histedit: remove moving bookmarks message on verbose (BC)
This is more consistent with other commands, like "commit -v" won't show
bookmark movement messages.
It will make migrating to scmutil.cleanupnodes easier.
--- a/hgext/histedit.py Sat Jul 08 18:47:50 2017 -0400
+++ b/hgext/histedit.py Sat Jul 08 16:04:21 2017 -0700
@@ -1574,8 +1574,6 @@
marks = repo._bookmarks
for mark, new in moves:
old = marks[mark]
- ui.note(_('histedit: moving bookmarks %s from %s to %s\n')
- % (mark, node.short(old), node.short(new)))
marks[mark] = new
marks.recordchange(tr)
tr.close()
--- a/tests/test-histedit-bookmark-motion.t Sat Jul 08 18:47:50 2017 -0400
+++ b/tests/test-histedit-bookmark-motion.t Sat Jul 08 16:04:21 2017 -0700
@@ -88,12 +88,6 @@
> pick 652413bf663e 5 f
> EOF
saved backup bundle to $TESTTMP/r/.hg/strip-backup/96e494a2d553-3c6c5d92-backup.hg (glob)
- histedit: moving bookmarks also-two from 177f92b77385 to b346ab9a313d
- histedit: moving bookmarks five from 652413bf663e to cacdfd884a93
- histedit: moving bookmarks four from e860deea161a to 59d9f330561f
- histedit: moving bookmarks three from 055a42cdd887 to 59d9f330561f
- histedit: moving bookmarks two from 177f92b77385 to b346ab9a313d
- histedit: moving bookmarks will-move-backwards from d2ae7f538514 to cb9a9f314b8b
saved backup bundle to $TESTTMP/r/.hg/strip-backup/d2ae7f538514-48787b8d-backup.hg (glob)
$ hg log --graph
@ changeset: 3:cacdfd884a93
@@ -148,9 +142,6 @@
> pick cacdfd884a93 3 f
> pick 59d9f330561f 2 d
> EOF
- histedit: moving bookmarks five from cacdfd884a93 to c04e50810e4b
- histedit: moving bookmarks four from 59d9f330561f to c04e50810e4b
- histedit: moving bookmarks three from 59d9f330561f to c04e50810e4b
saved backup bundle to $TESTTMP/r/.hg/strip-backup/59d9f330561f-073008af-backup.hg (glob)
We expect 'five' to stay at tip, since the tipmost bookmark is most