[darcs-devel] [issue1444] Pass the user specificed record files/directories to prehook
Lennart Kolmodin
bugs at darcs.net
Fri Apr 17 16:01:59 UTC 2009
New submission from Lennart Kolmodin <kolmodin at gentoo.org>:
Suppose I run
$ cd myrepo/sub
$ darcs record foo/ bar/ baz.txt
The pre-hook will be executed in the root of the darcs repo.
I'd like to have the search path that the user told darcs to use to find changed
files, to be in an environment variable when running the pre-hook.
DARCS_BLAH="sub/foo sub/bar sub/baz.txt"
The paths are normalized, so that the are relative to the root of the repository.
This would be useful for a QA enforcer in the gentoo overlay.
Knowing the changed files is similar, but knowing what the user asked for is ideal.
----------
messages: 7714
nosy: dmitry.kurochkin, kolmodin, kowey, simon, thorkilnaur
priority: feature
status: unread
title: Pass the user specificed record files/directories to prehook
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1444>
__________________________________
More information about the darcs-devel
mailing list