problems with .bzrignore
John Arbash Meinel
john at arbash-meinel.com
Tue May 5 15:44:05 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Michelsen wrote:
> Hello,
> I would like to exclude the follwing files from my repository:
>
> something.txt~
> something.log
>
> here is my ignore pattern:
>
> *.~
> *.*~
> doc/sphinx-build.log
>
> You can see this here:
> http://bazaar.launchpad.net/%7Eweb2py/web2py/web2py-sphinx/annotate/head%3A/.bzrignore
>
>
> Please tell me why bzr does include these file in my repository:
>
> http://bazaar.launchpad.net/%7Eweb2py/web2py/web2py-sphinx/annotate/head%3A/doc/source/docs_contrib.rst%7E
>
>
> What is wrong with my pattern?
>
As near as I can tell, your pattern is fine. Just as a guess, did you
already 'bzr add' those files? Explicitly versioning a file always takes
precedence over an ignore rule.
If that is so, you should be able to do "bzr rm --keep something.txt~".
And then the file will switch to 'unversioned', and thus 'ignored'.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoAULUACgkQJdeBCYSNAAMbBgCfe8HIN2JAJI04uV0AWCwqB1bw
kcMAoIV6TneooXKlhYcoCH9SaAh2xZJQ
=so31
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list