.hgignore regexp question

Thibault North tnorth at bluewin.ch
Wed Aug 17 09:58:52 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I am trying to configure my .hgignore to ignore backup files, which have
this syntax :
<filename>.<extension>~
Here is what I did:
- - Creating a .hgignore file in the repository's root.
- - Editing it and adding :
\..+~$

For me it means: Match a point, and then any character (any time)
followed by ~, last character.

Is that correct ?

- - hg commit -t "Modified .hgignore to ignore backup files"

But it seems that hg status still sees modified .php~ files. Is it normal ?

Regards,
Thibault
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDAwpb6Xb3bo96D2URAmogAJ9xTrK1FCg79kbfsMToderyTUEcEgCfXZwF
H5++hgLMI9Ev481Mq+QeNa4=
=wsv8
-----END PGP SIGNATURE-----



More information about the Mercurial mailing list