[Python-checkins] hooks: Update checkwhitespace comments to show use of absolute path in hgrc. (original) (raw)
ned.deily python-checkins at python.org
Mon Mar 21 05:57:01 CET 2011
- Previous message: [Python-checkins] cpython (merge 3.2 -> default): merge 3.2 (already commited before)
- Next message: [Python-checkins] cpython (3.1): Fix duplicate word.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/hooks/rev/9a63a9927d38 changeset: 66:9a63a9927d38 user: Ned Deily <nad at acm.org> date: Sun Mar 20 21:56:43 2011 -0700 summary: Update checkwhitespace comments to show use of absolute path in hgrc.
files: checkwhitespace.py
diff --git a/checkwhitespace.py b/checkwhitespace.py --- a/checkwhitespace.py +++ b/checkwhitespace.py @@ -4,10 +4,10 @@
To use the changeset hook in a local repository, include something like the following in your hgrc file, and make sure that this file (check_whitespace.py) -and reindent.py are in your PYTHONPATH. +and reindent.py are in the same directory.
[hooks] -pretxncommit.whitespace = python:checkwhitespace.check_whitespace_single +pretxncommit.whitespace = python:/home/hg/repos/hooks/checkwhitespace.py:check_whitespace_single """
Mercurial hooks are not run with the hook's directory in sys.path
-- Repository URL: http://hg.python.org/hooks
- Previous message: [Python-checkins] cpython (merge 3.2 -> default): merge 3.2 (already commited before)
- Next message: [Python-checkins] cpython (3.1): Fix duplicate word.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]