commands: format is a Python2.6 function
authorMartin Geisler <mg@aragost.com>
Fri, 11 Jun 2010 18:54:10 +0200
changeset 11338 285bcf40e04b
parent 11337 0f3c8a47960e
child 11339 744d5b73f776
commands: format is a Python2.6 function
mercurial/commands.py
--- 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: