Launchpad Bugs feature
John Arbash Meinel
john at arbash-meinel.com
Thu Mar 29 16:33:16 BST 2007
Ian Clatworthy wrote:
...
> As far as implementation goes, we certainly want access to (parsed or
> otherwise) metadata on a per system basis. Asking bzr for blueprint
> metadata on a commit ought to say "spec-name:comment", e.g.
> "my-lpspec-name:Initial cut of". The key point is that I don't want to
> enter that metadata twice.
>
> My 2c,
> Ian C.
>
>
It may be easiest in a first draft to just be able to expose revision
properties as part of commit. So you could do:
bzr commit --prop foo:bar --prop bugfix:lp:99272 --prop bug-fixing:lp:99273
(i don't strictly like the --prop X:Y syntax, I needed to use something
to indicate the idea, though).
Right now WorkingTree.commit() takes a revprops dictionary. So it is
fairly easy to do this sort of thing from the bzrlib api, it just hasn't
been exposed to the user.
John
=:->
More information about the bazaar
mailing list