Mercurial hgignore

Sean schliden at gmail.com
Mon Mar 19 09:52:11 CDT 2007


Further.... regarding paths, I seem to be able to use ~\ in the .ini
file which is expanded to the environment variable HOME.

BUT, $name or ${name} do not seem to work... which is a shame.

Is this by design ?

On 3/19/07, Sean <schliden at gmail.com> wrote:
> 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