Commits

Martin Vejnár  committed d842dab

Fixed: hg depst now prints readable revision numbers.

  • Participants
  • Parent commits 59b553f

Comments (0)

Files changed (1)

         rev = scmhandler.get_revision()
         
         if dep is None:
-            ui.write("A %s %s %s\n" % (item.alias_name, item.dest, rev))
+            ui.write("A %s %s %s\n" % (item.alias_name, item.dest,
+                scmhandler.readable_rev(rev)))
         elif dep.dest != item.dest or rev != dep.rev:
             ui.write("M %s %s %s (%s %s)\n" % (item.alias_name,
                 item.dest, scmhandler.readable_rev(rev),
                 dep.dest, scmhandler.readable_rev(dep.rev)))
         else:
-            ui.write("  %s %s %s\n" % (item.alias_name, item.dest, rev))
+            ui.write("  %s %s %s\n" % (item.alias_name, item.dest,
+                scmhandler.readable_rev(rev)))
     
     for dep in deplist:
         if dep.alias not in manifest or manifest[dep.alias].dest is None:
-            ui.write('R %s (%s %s)\n' % (dep.alias, dep.dest, dep.rev)) 
+            ui.write('R %s (%s %s)\n' % (dep.alias, dep.dest,
+                scmhandler.readable_rev(dep.rev)))
 
 def depalias(ui, repo, alias, location, type):
     '''bind an alias to a source location