Best way to check if a file matches an ignore pattern

Nicholas Allen nick.allen at onlinehome.de
Sun Sep 7 15:07:53 BST 2008


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

Sorry, I was not clear enough - I meant from the command line. I need it
for my Eclipse plugin (which is written in Java) so I need some way to
detect this by invoking bzr commands...

Nick

Mark Hammond wrote:
>> How can I check if a file matches an ignore pattern?
> 
> Use the tree.is_ignored() method.
> 
> Cheers,
> 
> Mark
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIw+A51+i51gqqEGkRAh6zAJ4vtWvIXFCCTEtqDa1KLNnKBCIujQCgrLqP
I1bBdvlckTOkJH4uhs09228=
=blxC
-----END PGP SIGNATURE-----



More information about the bazaar mailing list