mercurial/commands.py
changeset 19893 dc4edca39e41
parent 19872 681f7b9213a4
child 19919 e48c70451afc
--- a/mercurial/commands.py	Thu Oct 03 18:01:21 2013 +0200
+++ b/mercurial/commands.py	Thu Oct 03 18:01:21 2013 +0200
@@ -3021,11 +3021,12 @@
         if n in ids:
             r = repo[n].rev()
             if r in revs:
-                ui.warn(_('skipping already grafted revision %s\n') % r)
+                ui.warn(_('skipping revision %s (already grafted to %s)\n')
+                        % (r, rev))
                 revs.remove(r)
             elif ids[n] in revs:
                 ui.warn(_('skipping already grafted revision %s '
-                            '(same origin %d)\n') % (ids[n], r))
+                            '(%s also has origin %d)\n') % (ids[n], rev, r))
                 revs.remove(ids[n])
         elif ctx.hex() in ids:
             r = ids[ctx.hex()]