.hgignore regexp question

Thibault North tnorth at bluewin.ch
Wed Aug 17 06:43:52 CDT 2005


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

Thomas Arendsen Hein wrote:
> * Thibault North <tnorth at bluewin.ch> [20050817 11:56]:
>
>>I am trying to configure my .hgignore to ignore backup files, which have
>>this syntax :
>><filename>.<extension>~
>
>
> I'd rather say: fullfilename~

Oh yes ! Should have thought this before... (That's for a web project,
so we currently have only file with extensions.)

>
>>Here is what I did:
>>- - Creating a .hgignore file in the repository's root.
>>- - Editing it and adding :
>>\..+~$
>
>
> This looks ok and works for me, but you can simply use:
> ~$
>
> Maybe you have a space at the end of line?
>
> Try this again with the current tip version, it throws away hidden
> stuff at the end of lines and copes with files without newline at
> the end.

Ok, that doesn't seems to work in 0.6b, i'll try to pull last version.
Thanks a lot,
Regards,
Thibault North
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDAyL46Xb3bo96D2URAjQiAJ9NMBAFUuur6phclp4ECx5hl32ExQCghsIe
NBx+qzELZnNHfQyeOIF/2oY=
=7SN/
-----END PGP SIGNATURE-----


More information about the Mercurial mailing list