`bzr ci --fixes blah-blah`: how it supposed to work?

Alexander Belchenko bialix at ukr.net
Wed Jun 13 11:04:46 BST 2007


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

John Arbash Meinel пишет:
> 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?

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGb8E+zYr338mxwCURAl0yAJ9L/Jy7ewYSJDf1qxWgh8efnGlIBgCgiVe7
XIDOYbZZKV1sSPSdkIqwzYU=
=Eo23
-----END PGP SIGNATURE-----



More information about the bazaar mailing list