abort: pretxncommit.indigo hook is invalid (import of "indigo.hooks.precommit" failed)
Stodge
stodge at gmail.com
Wed Nov 18 08:34:18 CST 2009
Thanks. I logged into my Windows box this morning and the hooks seem
to work. Maybe I needed to log out after installing Mercurial?
On Nov 17, 8:32 pm, Greg Ward <greg... at gerg.ca> wrote:
> On Tue, Nov 17, 2009 at 10:50 AM, Stodge <sto... at gmail.com> wrote:
> > When I commit changes, I get the error:
>
> > C:\data\hg\test1>hg commit -v --debug -m "fixes #1"
> > test.py
> > calling hook pretxncommit.indigo:
> > indigo.hooks.precommit.pretxncommit_hook
> > transaction abort!
> > rollback completed
> > abort: pretxncommit.indigo hook is invalid (import of
> > "indigo.hooks.precommit" failed)
>
> > This should work. I can start a Python shell and this works;
>
> > from indigo.hooks import precommit
>
> > Any ideas what I'm missing?
>
> Are you positive hg is running with the same python.exe?
>
> Try running with --traceback -- might be a little more informative.
>
> What is in your [hooks] config section? How does that correspond to
> your source code?
>
> Greg
> _______________________________________________
> Mercurial mailing list
> Mercur... at selenic.comhttp://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list