[issue418] Error on "hg log -r -100:tip" on windows

Shun-ichi Goto mercurial-bugs at selenic.com
Mon Nov 13 09:41:41 UTC 2006


New submission from Shun-ichi Goto <shunichi.goto at gmail.com>:

On windows, when run "hg log -r -100:tip" if tip is less than rev 99,
it cause error:
[c:\] hg log -r -47:tip | less
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 4887567c1334)
Traceback (most recent call last):
  File "hg", line 12, in ?
  File "mercurial\commands.pyc", line 3231, in run
  File "mercurial\commands.pyc", line 3454, in dispatch
  File "mercurial\commands.pyc", line 3413, in <lambda>
  File "mercurial\commands.pyc", line 1835, in log
  File "mercurial\commands.pyc", line 102, in walkchangerevs
  File "mercurial\cmdutil.pyc", line 56, in revrange
  File "mercurial\cmdutil.pyc", line 50, in revfix
  File "mercurial\localrepo.pyc", line 367, in lookup
  File "mercurial\localrepo.pyc", line 313, in branchtags
  File "mercurial\localrepo.pyc", line 327, in _readbranchcache
AttributeError: 'posixfile_nt' object has no attribute 'readline'


On UNIX, it shows message: "abort: unknown revision '-100'!".

----------
messages: 2348
nosy: gotoh
priority: bug
status: unread
title: Error on "hg log -r -100:tip" on windows
topic: windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue418>
____________________________________________________




More information about the Mercurial-devel mailing list