`bzr ci --fixes blah-blah`: how it supposed to work?
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 13 15:32:32 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> John Arbash Meinel ?8H5B:
>> Alexander Belchenko wrote:
>>> I starting to use trac for my bzr-controlled projects.
>>> One thing that I don't understand, and documentation
>>> don't tell me anything useful is the '--fixes' flag
>>> of bzr commit command. And `bzr help bugs` is not
>>> very useful, as well ;-)
>>> I try to imagine why for it might be useful, but I don't
>>> understand how it supposed to work?
>>> For launchpad bugs the string lp:12345 is works,
>>> as I remember.
>>> But, what I do wrong in following session:
>>> $ bzr ci --fixes=trac:15
>>> bzr: ERROR: Unrecognized bug trac:15. Commit refused.
>>> ?
>>> [µ]
>> You have to set things up so that it knows what URL you mean when you say "trac:".
>
>> So in ~/.bazaar/bazaar.conf you set up something like:
>
>> trac_project_url = http://my/project/trac/
>
>> And then you use:
>
>> bzr ci --fixes=project:15
>
>> Which is related to
>> http://my/project/track/ticket/15
>
>> I do agree that the documentation should be improved.
>
> Can I use `bzr ci --fixes XXX' to auto-close my trac tickets?
>
> [µ]
As far as I know, no. Trac would have to be upgraded to understand the revision
properties.
Which probably just means that the "trac+bzr" project should be taught about
- --fixes. And (in theory) it would be possible, and possibly straightforward.
But I don't know the trac+bzr code.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGcAAAJdeBCYSNAAMRAmDfAKDW5SN02s0klZ1jmmw1yKuFMnY9RACfWmnz
hJZx2WfnY62pwCA8cDRC1Cw=
=d8J3
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list