[issue1147] clone -U traceback with virus scanner on windows

Adrian Buehlmann mercurial-bugs at selenic.com
Thu May 29 17:36:20 CDT 2008

New submission from Adrian Buehlmann <adrian at cadifra.com>:

user calavera on irc reported problems doing

hg clone -U http://lightfeather.de/cgi-bin/hg/lightfeather

on Windows XP SP2 on NTFS with Mercurial 1.0.1, berkwood
binary (not the python 2.4 based one).

Mercurial aborted with (call done with --traceback):

adding tools/solidworks/modSWtoLFM.bas revisions
adding util.lua revisions
added 2908 changesets with 23822 changes to 4428 files
Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 358, in <lambda>
  File "mercurial\commands.pyc", line 535, in clone
  File "mercurial\hg.pyc", line 230, in clone
  File "mercurial\localrepo.pyc", line 2124, in clone
  File "mercurial\localrepo.pyc", line 1484, in pull
  File "mercurial\localrepo.pyc", line 2038, in addchangegroup
  File "mercurial\transaction.pyc", line 75, in close
  File "mercurial\localrepo.pyc", line 2131, in a
  File "mercurial\util.pyc", line 627, in rename
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
abort: Das System kann die angegebene Datei nicht finden

(at that time http://lightfeather.de/cgi-bin/hg/lightfeather
had indeed 2908 changesets, tip revision was 93cc1bee2cef)

The problem could not be reproduced by building and using 1.0.1
from sources on Windows boxes of abuehl and pmezard, also not with
the TortoiseHG 0.4rc2 binary on abuehl's Windows XP SP3
(version 626cb86a6523+tortoisehg).

No problems regarding disk space, path name lengths, or non-ASCII
filenames were revealed by asking calavera.

calavera reported that after turning off the installed *virus scanner*, 
the traceback did no longer appear and cloning succeed (repeatable).

The virus scanner used was (as reported by calavera):
"avira antiv personal free edition Produktversion 29.04.2008"

assignedto: pmezard
messages: 6124
nosy: abuehl, pmezard
priority: bug
status: done-cbb
title: clone -U traceback with virus scanner on windows
topic: windows

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list