marrying bundle and directive? (Re: [MERGE] Merge directive format 2, Bundle format 4)

Vincent Ladeuil v.ladeuil+lp at
Tue Jul 3 08:37:34 BST 2007

>>>>> "aaron" == Aaron Bentley < at> writes:

    aaron> Vincent Ladeuil wrote:
    >>>>>>> "aaron" == Aaron Bentley < at> writes:
    >> <snip/>
    aaron> bzr emit [SUBMIT_BRANCH] [PUBLIC_BRANCH]
    >> My mental parser just blocks on two positional but optional parameters.
    >> bzr emit [SUBMIT_BRANCH  [PUBLIC_BRANCH]]

    aaron> The way I wrote it is the way bzr writes it.  (See bzr
    aaron> help checkout, for example.)

I understand.

    aaron> I think it's important for you to be able to decode
    aaron> that.

I do. I just feel a bit disturbed each time ;-)

    aaron> Personally, I find the second form less pleasing,

I agree it's less pleasing, may be I wrote too many parsers that
blew up in my face on such ambiguities, but we use a scanner
(optparse) to analyze the options and I don't think it will be
easy to take that into account. Even if this second form
describes what we will really accept or not: 'bzr emit
PUBLIC_BRANCH' is illegal.


More information about the bazaar mailing list