Making bzr commit more like debcommit

James Westby james.westby at canonical.com
Mon Jan 24 16:04:03 UTC 2011


On Mon, 24 Jan 2011 10:54:26 -0500, Barry Warsaw <barry at ubuntu.com> wrote:
> We have 'bzr commit' and we have 'debcommit'.  Currently, the UDD guidelines
> talk about both, but for consistency, I'd like to standardize on recommending
> 'bzr commit'.  One feature that debcommit has:
> 
> DEBCOMMIT(1)                                                     DEBCOMMIT(1)
> 
> NAME
>        debcommit - commit changes to a package
> 
> ...
> 
> VCS SPECIFIC FEATURES
> ...
>        bzr If the changelog entry used for the commit message closes any bugs
>            then --fixes options to "bzr commit" will be generated to
>            associate the revision and the bugs.
> 
> I know we can just do 'bzr commit --fixes lp:12345', though I often forget to
> do that until after my last commit, so I tend to add --unchanged, which leads
> to an empty revision.
> 
> What do you think about making 'bzr commit' act more like debcommit when
> there's a new debian/changelog entry?

I have always wanted to do this. However, none of the current bzr hook
points allow for this, except for overriding the "commit" command, which
is why I never got to it.

So, +1.

Thanks,

James



More information about the ubuntu-distributed-devel mailing list