Push Python Error on new setup

Tony Zakula tonyzakula at gmail.com
Mon May 31 14:33:27 UTC 2010


I think I have this almost solved.  There never was any errors in the
web server log.  That was the weird part.  However, I did create a new
hg project on another machine and attempt to do a pull from the one
file project on the source server.  I received an error from hg saying
the projects were unrelated.  Being new to hg, I did not realize this
was an issue.  So I did a force pull, changed a file, and then I was
able to push back to the repository via the cgi interface.

My next step was to do a force pull of just the one file on the source
server to get the projects related.  I then attempted to do a push via
the web interface, and the project has several thousand files, and it
failed.  So I did a push via ssh to the source server to get the
production files into source control and that worked fine.

Now when I issue the command hg incoming on the production server (via
the cgi interface), it shows the update that I pushed via ssh.  So I
am assuming, I should just pull that update, even though all the files
would be exactly the same.  After I pull via the cgi, I am hoping I
will be able to push via the cgi.  The pushes should only contain a
few files at a time.  I have to wait until tomorrow to give it a try.

So, it seems, that it was something inside the hg that was bombing,
unless it was the file size or something.

In retrospect, I probably should have manually copied all the files
from my production server, to the source server, created the project,
and then did a clone on the production server, which basically would
have just copied all the files back to the production server.

If any of my assumptions are incorrect above, or there are thoughts,
please let me know as I am still getting up to speed on this.

Thanks,

TonyZ




On Mon, May 31, 2010 at 4:36 AM, Paul Boddie <paul.boddie at biotek.uio.no> wrote:
> Tony Zakula wrote:
>>
>> I do not have the verbose set any where so I am assuming that it is
>> off by default.
>>
>> I can do everything else on the list.  I have been working at this for
>> several days now. :-)
>>
>> I can do a pull and push from another client with a project with only
>> one file, but when I try to send my large project, a crash occurs.
>>
>> Any other ideas?
>>
>
> Did we see a server log at any point? An internal server error can mean
> quite a few things, but an indication of where hgwebdir.cgi is failing would
> take much of the guesswork away.
>
> You mentioned that you "pushed that one file into it locally", which doesn't
> sound like you're using a HTTP-related protocol, but I imagine that you
> might mean that you pushed via hgwebdir.cgi on the same machine, and "can do
> a pull and push from another client", presumably meaning another Web client,
> maybe on a different machine. So, I imagine that what might remain is to
> test a large push from "another client" and "locally", assuming that these
> are done via the Web interface, and then try to draw conclusions about the
> possible infrastructure issues.
>
> But seeing that server log would be more valuable than anything else.
>
> Paul
>



More information about the Mercurial mailing list