[PATCH][Bug 86451]Trailing backslash crashes ignore pattern matching

Kent Gibson warthog618 at gmail.com
Sat Feb 24 13:51:40 GMT 2007


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

This is a knee-jerk fix for #86451, that repeats the fix of #4559 (for
trailing '/') but for '\' - trimming any trailing '\' from the pattern.

On reflection I'm not sure this is the right approach.
Elsewhere we normalise paths to use '/' separators.
Should we be doing the same for ignore patterns?

Cheers,
Kent.

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

iD8DBQFF4ELrgoxTFTi1P8QRAobpAKDqygPTwMJiuE4UbKpnWMmQHO/hzgCfT7J+
XIUO0RlYXK2Re/RPnkpKW1E=
=L2jY
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lp86451.patch
Type: text/x-patch
Size: 4008 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070224/c0e7a599/attachment.bin 


More information about the bazaar mailing list