Mercurial hgignore
Sean
schliden at gmail.com
Mon Mar 19 08:46:42 UTC 2007
Hi,
I am new too Mercurial (got spooked by the darcs hanging issue) and am
having a bit of trouble with the regexp / glob syntax of .hgignore
Can someone please advise (or point me to a decent guide on glob
syntax) if there is a case insensitive way of ignoring file types ?
For instance, there must be a simpler way of doing this sort of thing:
*.jpg
*.JPG
*.jpeg
*.JPEG
*.png
*.PNG
Additionally, in trying to ignore certain subdirectories, I am using
this syntax (windows):
*enc\
*opt\
which seems to be working. Is this correct ?
With regard extensions and other setting in the mercurial.ini, does
anyone know how to use relative, rather than absolute paths ?
The following work, but are not very portable.
ignore = f:\mercurial\.hgignore.global
keyword = f:\mercurial\hgext\keyword.py
If there is no better way, I will try setting the path to mercurial in
the environment.
TIA
More information about the Mercurial
mailing list