Mercurial hook - hg update

Ezra Smith ezra.smith at bentley.com
Mon Aug 3 13:41:13 CDT 2009


Martin Geisler <mg <at> lazybytes.net> writes:

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

It just means that, provided "Security -> Impersonate User" is set to true
(which is the IIS default), the web server process should be running as him.



More information about the Mercurial mailing list