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.

--
blu

Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. - Martin Golding
-----------------------------------------------------------------------|
Brian Utterback - Solaris RPE, Oracle Corporation.
Ph:603-262-3916, Em:[email protected]

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

Reply via email to