Extending the pattern list in .hgignore to exclude webrev directories
Mark Reinhold
mr at sun.com
Fri Feb 1 16:40:55 UTC 2008
> Date: Fri, 01 Feb 2008 14:21:07 +0100
> From: daniel.fuchs at sun.com
> I'd like to suggest to extend .hgignore with these two lines:
>
> ^webrev/
> ^webrev_.*/
>
> It would make it possible to keep several webrevs in your working
> repository without polluting the output of 'hg status'
>
> Well, of course there's always the possibility to do
> 'hg status | grep -v webrev'
> if others in this group feel that it is not good idea ;-/
A better way to do this is to add the following to your ~/.hgrc:
[ui]
ignore = ~/.hgignore
Then you can add whatever patterns you want to ~/.hgignore in
order to suit your personal working style.
- Mark
More information about the build-dev
mailing list