[issue1779] Loading in-process hooks under Windows

Roman V. Kiseliov mercurial-bugs at selenic.com
Wed Aug 5 00:17:09 UTC 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

[hooks] 
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

[hooks] 
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>
<http://mercurial.selenic.com/bts/issue1779>
____________________________________________________
-------------- 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