Problems pushing largefiles repo w/Hg 2.3.1, works with Hg 2.0.2
Matt Harbison
matt_harbison at yahoo.com
Tue Oct 9 01:02:11 UTC 2012
Scott Timothy E <ScottTimothyE <at> phoeintl.com> writes:
>
>
> I recently upgraded to TortoiseHg 2.5 / Hg 2.3.1 and have discovered a problem
with pushing updates to largefiles repos. I was hoping someone on this list
might be able to figure out what is going wrong.
>
> My machine: Win7, 32bit, Hg 2.3.1 originally installed, downgraded to 2.0.2.
> Server machine: Win 2008, IIS 7, 64bit, Hg 2.1 installed
>
> When I attempt to push a repo that contains an updated largefile, it hangs /
freezes / indefinitely pauses during the putlfile command. Enabling –verbose
and –debug options shows that it fails consistently on my machine at the 38.95%
mark. Leaving things running causes the connection to simply timeout. I tried
letting it run overnight and that timed out after a couple of hours.
Assuming it is in the wire protocol (largefiles/proto.py) when sending the
largefiles, there are only a handful of changes after 2.0.2, which look to be
in 2.1, 2.1.1, 2.2, 2.2.1 and 2.3. Nothing looks obviously wrong to me. Can
you narrow that down to a specific version?
Or even better, clone the hg repo [1] and bisect it down to the specific change
where the problem starts, in case the problem is elsewhere. As long as you
have python installed, you can do things in the command window like:
C:\Users> cd path\to\hg\clone
C:\Users> python hg -R path\to\largefilerepo <normal hg cmds and opts>
You may want to install MinGW, but it works on my system with cmd.exe. You
might also want to file a bug [2] for this, since it doesn't seem like a
configuration issue if it works by swapping hg versions.
The only other thing I can think of (and this is a shot in the dark), but maybe
update hg on the server to 2.3? 2.3 added support for batch processing
statlfile, which you mention as behaving differently. I can't tell from the
code, but maybe it needs support on the server side too?
I've never used IIS or the keyring extension, so if you have a set of
instructions to do a minimal setup, that would be helpful. In the meantime,
I'll try using the IIS info on the wiki and see where that goes.
--Matt
[1] http://selenic.com/hg
[2] http://bz.selenic.com/
More information about the Mercurial
mailing list