On Mon, Jul 19, 2010 at 6:04 PM, Greg Ward <[email protected]> wrote:

> On Sun, Jul 18, 2010 at 3:33 PM, Luis Navarro <[email protected]>
> wrote:
> > I'm using THG 1.1.1 and trying to clone a repo on my local disk (Windows
> XP
> > SP3) to a mapped drive on a server (Windows 2008 SP2) and it fails every
> > time when trying to update an 89.6 MB FLV file.  I've even created a test
> > repo with only this file (and .hgignore of course) and it also fails.
> Both
> > boxes have indexing and virus scans turned off.  Here's the output when
> > trying to perform the clone in THG:
> >
> > updating to branch default
> > resolving manifests
> > getting .hgignore
> > getting web/multimedia/videos/40Gbs_SMT_Optical_Driver.flv
> > [Errno 22] Invalid argument
>
> This sounds like http://mercurial.selenic.com/bts/issue2252, which is
> almost certainly a Windows bug.  Probably Mercurial will have to
> implement a workaround.
>
> If you can reproduce it, please run
>
>  hg update --debug --traceback
>
> and provide full output.
>
> Note that the crash during update will probably leave your working dir
> in a slightly funny state -- you'll have to manually remove the file
> to get hg to try updating it again.
>
> Oh yeah, does it happen when there is no network share involved?
>
> Greg
>

Yeah, I saw that issue and it looked very similar.

I just did an hg clone --debug --traceback from my local drive to the mapped
drive and here's what I got:

copied 8 files
updating to branch default
resolving manifests
 overwrite False partial False
 ancestor 000000000000 local 000000000000+ remote 6191a9dbf76a
 web/multimedia/videos/40Gbs_SMT_Optical_Driver.flv: remote created -> g
 .hgignore: remote created -> g
update: .hgignore 1/2 files (50.00%)
getting .hgignore
update: web/multimedia/videos/40Gbs_SMT_Optical_Driver.flv 2/2 files
(100.00%)
getting web/multimedia/videos/40Gbs_SMT_Optical_Driver.flv
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 54, in _runcatch
  File "mercurial\dispatch.pyo", line 483, in _dispatch
  File "mercurial\dispatch.pyo", line 351, in runcommand
  File "mercurial\dispatch.pyo", line 534, in _runcommand
  File "mercurial\dispatch.pyo", line 488, in checkargs
  File "mercurial\dispatch.pyo", line 481, in <lambda>
  File "mercurial\util.pyo", line 420, in check
  File "mercurial\commands.pyo", line 723, in clone
  File "mercurial\hg.pyo", line 367, in clone
  File "mercurial\hg.pyo", line 381, in update
  File "mercurial\merge.pyo", line 515, in update
  File "mercurial\merge.pyo", line 325, in applyupdates
  File "mercurial\localrepo.pyo", line 563, in wwrite
IOError: [Errno 22] Invalid argument
abort: Invalid argument

This happens every time if I clone to the mapped drive.  It never happens
when I clone to a local drive.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to