Extending the pattern list in .hgignore to exclude webrev directories

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Fri Feb 1 18:05:32 UTC 2008


Mark,

Is this the recommended practice for the OpenJDK repositories?

-- Jon


Mark Reinhold wrote:
>> 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
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20080201/b186d02a/attachment.html>


More information about the build-dev mailing list