Mercurial hook - hg update

Martin Geisler mg at lazybytes.net
Mon Aug 3 17:15:31 UTC 2009


"Mohammed, Khursheed" <khursheed.mohammed at intel.com> writes:

>>> I get the below error "warning: changegroup hook exited with status
>>> -1". Not sure what the error means? I can run the "hg update" inside
>>> the repository without any errors. And I have the admin rights to
>>> the machine and the repository.
>>
>> The webserver must be able to write to the working directory. So are
>> you sure you run the webserver (the hgwebdir.cgi script) as the same
>> user as when you tested?
>>
>> This is different from when you push to a server using SSH -- in that
>> case you log in with your own user and gain the rights of that user.
>> With HTTP, all operations are done as the webserver user.
>
> Thanks Martin for your reply
>
> On Windows IIS the hgwebdir.cgi script is configured to run as
> "Integrated Window authentication" with basic authentication.

Okay, I hope someone else knows what that means :-) I'm actually only
using Linux so I cannot help you further.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20090803/6a0da13a/attachment-0001.asc>


More information about the Mercurial mailing list