mercurial/commands.py
changeset 23508 2164226a5637
parent 23507 67045b5a903a
child 23533 891aaa7c0c70
--- a/mercurial/commands.py	Tue Dec 09 03:38:23 2014 +0100
+++ b/mercurial/commands.py	Tue Dec 09 12:39:23 2014 -0600
@@ -3498,8 +3498,9 @@
             node = repo.commit(text=message, user=user,
                         date=date, extra=extra, editor=editor)
             if node is None:
-                ui.warn(_('note: graft of %s created no changes to commit\n') %
-                        desc)
+                ui.warn(
+                    _('note: graft of %d:%s created no changes to commit\n') %
+                    (ctx.rev(), ctx))
     finally:
         wlock.release()