[issue1779] Loading in-process hooks under Windows

Roman V. Kiseliov mercurial-bugs at selenic.com
Tue Aug 4 19:17:09 CDT 2009

New submission from Roman V. Kiseliov <roman.kiseliov at gmail.com>:

Attached patch fixes loading in-process hooks with full path specified
(including drive letter and following colon) under Windows.

Without patch you'll can't be succesfull with

commit.example = python:c:/dev/repos/someproj/hooks/hook00.py:hookfunc

because of old code works correctly only for 2 colons and you'll be forced
add 'c:/dev/repos/someproj/hooks/' to PYTHONPATH and write

commit.example = python:hook00.hookfunc

to get things working.

files: colon.diff
messages: 10271
nosy: roman[k]
priority: bug
status: unread
title: Loading in-process hooks under Windows

Mercurial issue tracker <mercurial-bugs at selenic.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colon.diff
Type: application/octet-stream
Size: 806 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090805/016976cd/attachment.obj 

More information about the Mercurial-devel mailing list