Mercurial > public > mercurial-scm > hg
diff hgext/histedit.py @ 28340:c100dbd593e2
histedit: reword message when a changeset produces no changes
There are various ways to use histedit such that an item in
the list of things to perform will not result in a change
relative to the previous repository state.
When that happens, histedit does not keep the commit/message.
This changes the note to try to explain to the user that it
will not be present in their history.
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 22:39:03 +0000 |
parents | 89e04a33e958 |
children | 5490b04e6132 |
line wrap: on
line diff
--- a/hgext/histedit.py Wed Mar 02 22:09:18 2016 +0000 +++ b/hgext/histedit.py Wed Mar 02 22:39:03 2016 +0000 @@ -482,7 +482,7 @@ rulectx.""" ctx = self.repo['.'] if ctx.node() == self.state.parentctxnode: - self.repo.ui.warn(_('%s: empty changeset\n') % + self.repo.ui.warn(_('%s: skipping changeset (no changes)\n') % node.short(self.node)) return ctx, [(self.node, tuple())] if ctx.node() == self.node: