Beginner, very simple hook question

Steve Borho steve at borho.org
Sun Feb 1 10:07:36 CST 2009


On Sun, Feb 1, 2009 at 5:43 AM, doahh <gavin at prodia.co.uk> wrote:
>
> Thanks for the reply Steve. I am using Debian and so have mercurial 1.01,
> running the command you mention gives me an error:
>
> hg status: option -e not recognized

Sorry, there should have been two dashes in --rev
Status is one of the few commands where -r does not mean --rev.

> I have however managed to get what I want to do, done. I have used the
> output from:
>
> hg log -v -r $HG_NODE
>
> which gives me, among other things, a list of the changed file names which I
> parse out in the shell script. I am then using:

The only thing this might miss are added and removed files, I don't
remember if those are shown in the log file list by default.  At one
point you needed to set the --debug flag on log to see those files.

--
Steve


More information about the Mercurial mailing list