diff mercurial/commands.py @ 3403:372999405787

author Brendan Cully <brendan@kublai.com>
date Sun, 15 Oct 2006 18:25:07 -0700
parents a004164dbeef
children 357b5589dc62
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Oct 15 17:38:07 2006 -0700
+++ b/mercurial/commands.py	Sun Oct 15 18:25:07 2006 -0700
@@ -628,7 +628,7 @@
         raise util.Abort(_('at least one file name or pattern required'))
 
     opmap = [['user', lambda x: ui.shortuser(x.user())],
-             ['number', lambda x: str(x.linkrev())],
+             ['number', lambda x: str(x.rev())],
              ['changeset', lambda x: short(x.node())],
              ['date', getdate], ['follow', lambda x: x.path()]]
     if (not opts['user'] and not opts['changeset'] and not opts['date']