Pre-commit hook ignoring rc

2016-11-03 Thread Peter Kronenberg
I've got a pre-commit hook written in Python that's been working ok, but all of a sudden seems to be ignoring the return value. I return True if I don't want to commit to proceed. But it's committing anyway. Running 3.9.2. Has anything changed recently? Peter

Re: Pre-commit hook ignoring rc

2016-11-04 Thread Peter Kronenberg
Thanks to Murphy's law, after spending the afternoon trying to figure out what was wrong, I found the problem about 5 minutes after posting this email. User error:-) On Nov 4, 2016 4:30 AM, "Pierre-Yves David" <pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/03/2016 0

revset arguments on 2.2.1

2016-10-13 Thread Peter Kronenberg
I have a server running 2.2.1 and I can't figure out the arguments for the result of revset.match In my 3.9.2 code, I have revsetQuery = ' ***query goes here*** ' revsetResult = revset.match(ui, revsetQuery) Now, I want to reference revsetResult(repo) or revsetResult(repo. None), both of which

Re: revset arguments on 2.2.1

2016-10-13 Thread Peter Kronenberg
Thanks. Didn't realize that. How does one tell what is the 'top-level' way to do things? The documentation is somewhat sparse, to say the least. On Thu, Oct 13, 2016 at 6:10 PM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 10/13/2016 09:44 PM, Peter K

Installation-specific ini file

2017-04-07 Thread Peter Kronenberg
I've installed a server on my Windows machine under Apache. I want to create an installation-specific mercurial.ini, so that it doesn't use the ini file in my User directory. But I can't find the proper location. I have the hg.exe file in c:\Python27\Scripts. I thought that mercurial.ini

Server logs

2017-04-07 Thread Peter Kronenberg
I've successfully set up a Mercurial server on Windows running under Apache. But I can't find where the Mercurial logs are. I see access.log and error.log, but that just contains non-Hg specific info about the transactions. Where does the Hg Server log go? thanks Peter