How to use the Filename in a Hook
Roland Schmitz
sch.r at web.de
Wed Sep 2 04:43:46 CDT 2009
Am Tuesday 01 September 2009 21:27:24 schrieb Matt Mackall:
> On Tue, 2009-09-01 at 20:25 +0200, Roland Schmitz wrote:
> > Hi,
> >
> > i'm writing my own hookscript. Therefore i need to know the full
> > quallified filename of the file(s) which is affected by a commit. How do
> > i get them?
>
> You might start by telling us what hook you're talking about. But the
> answer is probably to ask hg (ie hg tip -v).
About two weeks ago i posted "Best practice hg-hooks for perl users" here,
with no response. That's the reason i looked for perl specific SVN hooks
which i'm trying to convert to hg.
I hope i have a "prototype" of a perl::critic check done this evening.
--
Mit freundlichen Gruessen Yours Sincerely
Roland Schmitz
More information about the Mercurial
mailing list