[Merged!] [MERGE][1.6] Update repo description strings
aaron at aaronbentley.com
Thu Aug 14 06:17:48 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
John Arbash Meinel wrote:
> Bundle Buggy wrote:
>> Bundle Buggy has detected this merge request.
>> For details, see:
>> Project: Bazaar
> It seems Aaron's recent work to change the BB result forgot to update the
> filter for it.
Thanks for cleaning up my mess. I've changed BB to use [Success!]
instead of [Merged!] for now.
> I was curious why Aaron chose to use [MERGED!][MERGE] rather than [MERGED!]...
I didn't. In the line "[Merged!][MERGE]", "[Merged!]" is a prefix that
is prepended to the existing subject line. The existing subject line
may contain "[Merge" or "[Merge/RFC" or "Patch", etc.
> I also wonder if it isn't because he is using '\[MERGE' as the regex, rather
> than '\[MERGE\>' as the regex.
FWICT, r'\[MERGE\>' will only match the string "[MERGE>".
>>> import re
>>> re.match(r'\[Merge\>', '[Merge>')
<_sre.SRE_Match object at 0xb7d22950>
>>> re.match(r'\[Merge\>', '[Merge]')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar