[issue2252] Hg borks on clone/push/pull to windows share

raphael bugs at mercurial.selenic.com
Fri Jun 25 13:50:46 UTC 2010


New submission from raphael <fakeleft at gmail.com>:

Using hg 1.5.4, if I put the following (large binary) file into a repo:
http://ftp.ni.com/support/visa/drivers/win32/3.0.1/visa301full.exe, then try
to clone to a windows share, I get the following error:

>hg clone --traceback test_repo \\zpp81-a8-2\users\raphael\test_repo
updating to branch default
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 50, in _runcatch
  File "mercurial\dispatch.pyo", line 471, in _dispatch
  File "mercurial\dispatch.pyo", line 341, in runcommand
  File "mercurial\dispatch.pyo", line 522, in _runcommand
  File "mercurial\dispatch.pyo", line 476, in checkargs
  File "mercurial\dispatch.pyo", line 470, in <lambda>
  File "mercurial\util.pyo", line 401, in check
  File "mercurial\commands.pyo", line 681, in clone
  File "mercurial\hg.pyo", line 349, in clone
  File "mercurial\hg.pyo", line 363, in update
  File "mercurial\merge.pyo", line 507, in update
  File "mercurial\merge.pyo", line 320, in applyupdates
  File "mercurial\localrepo.pyo", line 550, in wwrite
IOError: [Errno 22] Invalid argument
abort: Invalid argument


It looks like the clone is created, but the update craps out and only pulls
out a piece of the file.  If I remove the resulting partial file from the
clone working copy, and run update, things are fine.  I would have thought
this might have something to do with file size, but cloning locally works fine.

----------
messages: 12900
nosy: fakeleft
priority: bug
status: unread
title: Hg borks on clone/push/pull to windows share

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


More information about the Mercurial-devel mailing list