mercurial/commands.py
changeset 3772 73860ffbe798
parent 3767 1861fa38a6a7
child 3773 b1eeaeb936ae
equal deleted inserted replaced
3771:29d91e57d055 3772:73860ffbe798
  2208         except KeyError:
  2208         except KeyError:
  2209             r = "    ?:?"
  2209             r = "    ?:?"
  2210         if ui.quiet:
  2210         if ui.quiet:
  2211             ui.write("%s\n" % t)
  2211             ui.write("%s\n" % t)
  2212         else:
  2212         else:
  2213             ui.write("%-30s %s\n" % (t, r))
  2213             t = util.localsub(t, 30)
       
  2214             t += " " * (30 - util.locallen(t))
       
  2215             ui.write("%s %s\n" % (t, r))
  2214 
  2216 
  2215 def tip(ui, repo, **opts):
  2217 def tip(ui, repo, **opts):
  2216     """show the tip revision
  2218     """show the tip revision
  2217 
  2219 
  2218     Show the tip revision.
  2220     Show the tip revision.