[issue2862] shrink-revlog.py failing on Windows with recent stable releases

Pascal Quantin bugs at mercurial.selenic.com
Tue Jun 21 15:11:16 CDT 2011


New submission from Pascal Quantin <pascal.quantin at gmail.com>:

With the introduction of path_auditor in 98ee3dd5bab4, the execution of
shrink-revlog.py on Windows is failing:

@ crew [ A0 M0 D0 !0 ?0]> hg version
Mercurial Distributed SCM (version 1.8.4+193-2cba9944009a)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@ crew [ A0 M0 D0 !0 ?0]> hg --traceback shrink -n
shrinking D:\Dev\crew\.hg/store/00manifest.i
Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 87, in _runcatch
  File "mercurial\dispatch.pyc", line 655, in _dispatch
  File "mercurial\dispatch.pyc", line 447, in runcommand
  File "mercurial\extensions.pyc", line 182, in wrap
  File "hgext\color.pyc", line 357, in colorcmd
  File "mercurial\dispatch.pyc", line 709, in _runcommand
  File "mercurial\dispatch.pyc", line 663, in checkargs
  File "mercurial\dispatch.pyc", line 652, in <lambda>
  File "mercurial\util.pyc", line 385, in check
  File "mercurial\extensions.pyc", line 137, in wrap
  File "mercurial\util.pyc", line 385, in check
  File "hgext\mq.pyc", line 3232, in mqcommand
  File "mercurial\util.pyc", line 385, in check
  File "c:\Program Files (x86)\Mercurial\Contrib\shrink-revlog.py", line
197, in shrink
  File "mercurial\revlog.pyc", line 239, in __init__
  File "mercurial\scmutil.pyc", line 191, in __call__
Abort: filename contains ':', which is reserved on Windows:
'D:\\Dev\\crew\\.hg/store/00manifest.i'
abort: filename contains ':', which is reserved on Windows:
'D:\\Dev\\crew\\.hg/store/00manifest.i'

----------
assignedto: abuehl
messages: 16581
nosy: abuehl, pqu
priority: bug
status: unread
title: shrink-revlog.py failing on Windows with recent stable releases

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


More information about the Mercurial-devel mailing list