[win32] bzr ignore patterns with path separators?

John Arbash Meinel john at arbash-meinel.com
Wed Jul 8 03:06:43 BST 2009


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

Maritza Mendez wrote:
> 
> I searched the bugs on Launchpad, but admittedly I could have missed
> something. 
> 
> On jaunty, putting /Debug in my .bzrignore does a nice job of letting me
> ignore the stuff that gets dumped to paths including directories like
> 'Debug' but on windows this pattern does not seem to work. 
> 
> So I tried and failed with all of these: /Debug,  \Debug,  \/Debug  and
> \\Debug on WinXP with bzr 1.16.1
> 
> I also tried just Debug without any slashes.  That works as expected: it
> gets everything that matches Debug.  I want to specifically match paths
> containing Debug.
> 
> Note that I am editing .bzrignore directly (using Notepad.exe invoked by
> Bazaar Explorer) to at least avoid any escape sequence strangeness on
> the Windows shell command line.
> 
> I figure I'm just being really stupid.  Would someone please wrap the
> answer around a brick and throw it at me?
> 
> ~M
> 
> 

I don't know how that was working for you before, the correct notation
to ignore an exact path at the root is:

 ./Debug

If you did:

 Debug

Then it would ignore all paths named "Debug".

John
=:->

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

iEYEARECAAYFAkpT/zMACgkQJdeBCYSNAAMHNgCcCbZ8n2jkaR3M5BnQ6b9AuOn0
rYgAoNknyGvMz1pY2VpiqNPPT2CUBnec
=ZFKZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list