On 11/23/11 12:41 PM, Brian Utterback wrote:
Whenever I need to work with a userland workspace, I end up making a copy of a .hgignore file that I use. It occurs to me that this .hgignore file would be quite useful to everyone and probably could be checked into the repo. Here is what I use in the root directory of the workspace:

syntax: regexp
^sparc/
^i386/
^tools/.*\.so
^tools/.*\.o
^tools/python/pkglint/.*\.pyc
^components/components.mk
^components/depends.mk
^webrev/
^components/.*/build/

This makes the "hg status" command a lot more useful. Unfortunately, there does not seem to be anyway to get it to ignore the unpacked source directories.

I wouldn't mind a common .hgignore file for userland.

As far as cutting down on the traversal of unpacked source directories, you might try adding

   ^components/.*/.*-.*/

It's not perfect, but most of the source unpacks in to a foo-version directory.

The source archives can pretty much be ignored with

   ^components/.*/.*\.tar.\.*
   ^components/.*/.*\.tgz
   ^components/.*/.*\.zip
   ^components/.*/.*\.jar

    -Norm

_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to