On Mon, Jul 19, 2010 at 4:28 PM, Luis Navarro <[email protected]> wrote:
> On Mon, Jul 19, 2010 at 12:54 PM, Steve Borho <[email protected]> wrote:
>>
>> On Mon, Jul 19, 2010 at 2:51 PM, Luis Navarro <[email protected]>
>> wrote:
>> > On Mon, Jul 19, 2010 at 7:16 AM, Steve Borho <[email protected]> wrote:
>> >>
>> >> On Sun, Jul 18, 2010 at 2: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
>> >> >
>> >> > [command interrupted]
>> >> >
>> >> > I know Mercurial isn't ideal for large-ish files but I want to keep
>> >> > these
>> >> > files with the rest of the related files.  Installing software on the
>> >> > Windows 2008 box is not an option.  Am I doing something wrong or are
>> >> > there
>> >> > any tweaks I can make this work?
>> >>
>> >> #1 - Does the repository pass verify?
>> >> #2 - Running 'hg update --debug' on the command line may be useful
>> >>
>> >> --
>> >> Steve Borho
>> >
>> > (Steve - sorry for the duplicate messages....I forgot to reply all the
>> > first
>> > time)
>> >
>> > 1) Assuming you mean the new repo (the one on the mapped drive)....yes.
>> > Here's the output:
>> >
>> > repository uses revlog format 1
>> > checking changesets
>> > checking manifests
>> > crosschecking files in changesets and manifests
>> > checking files
>> > 2 files, 1 changesets, 2 total revisions
>> > [command completed successfully Mon Jul 19 12:44:16 2010]
>> >
>> > The source repo also passes verify.
>> >
>> > 2) Sure....here's the output:
>> >
>> > Z:\Temp\Mercurial\Repos\Test 2 WWW>hg update --debug
>> > abort: untracked file in working directory differs from file in
>> > requested
>> > revision: 'web/multimedia/videos/40Gbs_
>> > SMT_Optical_Driver.flv'
>>
>> This message is telling you Mercurial is aborting on purpose because
>> it would probably kill your data.  Move that file out of the way, and
>> the update will most likely succeed.
>>
>> --
>> Steve Borho
>
> OK but is there something I can do differently so clones/updates with
> large-ish files work without manual intervention?  I don't seem to be having
> any problems with files of this size if the repo is local....its just repos
> on mapped drives that are causing trouble.

This problem should not be repeatable, if it is then that abort
message is most likely the second error.

As a side note, do you need to be checking out your repo on the shared
drive?  If it is just for backup or exchanging changesets, it does not
need a working directory.  Just use clone -U or the "Do not update the
working directory" checkbox.

-- 
Steve Borho

------------------------------------------------------------------------------
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