"tmp_versions" vs ".tmp_versions" (.hgignore)

Evan Powers evan.powers+hg at gmail.com
Mon Jul 16 10:01:41 CDT 2007


On 7/15/07, Alexis S. L. Carvalho <alexis at cecm.usp.br> wrote:
> I can't reproduce this (nor can I reproduce your problem with
> .tmp_versions).

Maybe it's a Windows related problem, as I can easily reproduce with
0.9.4 on windows. I thought it was normal behavior on all platforms
though (matches aren't rooted). Am I mistaken? Yakov, did I
misunderstand your problem?

$ hg init
$ touch .tmp_versions
$ touch tmp_versions
$ hg status -A
? .tmp_versions
? tmp_versions
$ echo tmp_versions >.hgignore
$ hg status -A
? .hgignore
I .tmp_versions
I tmp_versions

- Evan

On 7/16/07, I wrote:
> Because neither glob nor regexp expression matches are "rooted"; in
> other words "a" in glob syntax will match files "a", "ba", even "c/a",
> but not "ad". The man page mentions this if you read carefully, but
> it's easy to miss.


More information about the Mercurial mailing list