changeset 11338:285bcf40e04b

commands: format is a Python2.6 function
author Martin Geisler <mg@aragost.com>
date Fri, 11 Jun 2010 18:54:10 +0200
parents 0f3c8a47960e
children 744d5b73f776
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Jun 10 11:49:48 2010 +0200
+++ b/mercurial/commands.py	Fri Jun 11 18:54:10 2010 +0200
@@ -920,7 +920,7 @@
     atbranch = 'default'
     for type, data in dagparser.parsedag(text):
         if type == 'n':
-            ui.status('node %s\n' % format(data))
+            ui.status('node %s\n' % str(data))
             id, ps = data
             p1 = ps[0]
             if p1 != at: