[PATCH] ignore: add files present in the hackable-hg windows distribution

Mads Kiilerich mads at kiilerich.com
Tue Dec 20 20:18:44 UTC 2011


Laurens Holst wrote, On 12/20/2011 09:01 PM:
> # HG changeset patch
> # User Laurens Holst <laurens.hg at grauw.nl>
> # Date 1324409800 -3600
> # Node ID d32784a0596831340cd6e358de4d1c699fbb7dd5
> # Parent  c153131ce1fc1de11b8725785a51345b8dfa1930
> ignore: add files present in the hackable-hg windows distribution
>
> diff -r c153131ce1fc -r d32784a05968 .hgignore
> --- a/.hgignore    Tue Dec 20 20:35:21 2011 +0100
> +++ b/.hgignore    Tue Dec 20 20:36:40 2011 +0100
> @@ -49,3 +49,8 @@
>  syntax: regexp
>  ^\.pc/
>  ^\.(pydev)?project
> +
> +# hackable windows distribution additions
> +^hg-python26/
> +^hg.exe$
> +^hg.py$

It would be better to figure out what a relative path in ui.ignore 
should be relative to, and then somehow finish 
http://markmail.org/message/tu4m7zapwenbphom . That would allow 
hackable-hg to ship a ui.ignore setting in .hg/hgrc and put these lines 
in an untracked ignore file.

Hmm ... an alternative solution that would postpone the decision of 
relative paths could be to define HG_ROOT early during startup and use 
ui.ignore=$HG_ROOT/... ...

/Mads



More information about the Mercurial-devel mailing list