diff -r 2f1174b2c4fa -r 6eab8f0df2ca mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Nov 04 18:19:10 2010 +0100 +++ b/mercurial/cmdutil.py Thu Nov 04 16:21:28 2010 -0500 @@ -147,6 +147,11 @@ # attempt to parse old-style ranges first to deal with # things like old-tag which contain query metacharacters try: + if isinstance(spec, int): + seen.add(spec) + l.append(spec) + continue + if revrangesep in spec: start, end = spec.split(revrangesep, 1) start = revfix(repo, start, 0)