[Merged!] [MERGE][1.6] Update repo description strings

Aaron Bentley aaron at aaronbentley.com
Thu Aug 14 06:17:48 BST 2008


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

John Arbash Meinel wrote:
> Bundle Buggy wrote:
>> Bundle Buggy has detected this merge request.
> 
>> For details, see:
>> http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20080813235228.11F4D626FB%40vm1.unixshell.com%3E
> 
>> 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]')

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

iD8DBQFIo7/80F+nu1YWqI0RAghOAJ0cwmF+GZltsTdeZPFPskLNeWWdegCfRUnf
yZgqwQUA3utvb+dBdegDZ0s=
=k/Vo
-----END PGP SIGNATURE-----



More information about the bazaar mailing list