Improved quilt patch handling

Jelmer Vernooij jelmer at
Thu Jan 26 13:02:24 UTC 2012

On Thu, Jan 26, 2012 at 12:30:54PM +0000, Colin Watson wrote:
> On Thu, Jan 26, 2012 at 01:02:43PM +0100, Jelmer Vernooij wrote:
> > bzr-builddeb 2.8.1 has just landed on Debian Sid and Ubuntu Precise.
> > This version contains some of my improvements from late last year
> > for the handling of quilt patches in packaging branches. Most of
> > these improvements depend on bzr 2.5 beta 5, which is also in
> > Sid/Precise.
> This sounds great, thank you!  Note, however, that the latest version of
> bzr-builddeb failed to build in precise, so this won't be usable until
> somebody fixes that:
> You may not have seen this due to:
I indeed hadn't, thanks! I'll keep a closer eye on builds from my sync
requests and will look into this issue. 

> > Furthermore, you can now specify whether you would like bzr to
> > automatically apply all patches for stored data and whether you
> > would like to automatically have them applied in your working tree
> > by setting 'quilt-tree-policy' and 'quilt-commit-policy' to either
> > 'applied' or 'unapplied'.  This means that you can have the patches
> > unapplied in the repository, but automatically have them applied
> > upon checkout or update.
> Are these options per-tree?  We surely don't want branches flip-flopping
> between policies depending on people's local bzr-builddeb configuration.
They're in the bzr-builddeb configuration, which can either be in the
tree (debian/bzr-builddeb.conf) or in the users' local configuration.
The tree configuration takes precedence over the home dir configuration.

The value of "quilt-tree-policy" isn't really relevant for anybody
other than the user themselves. It only affects what is in the
working tree, and not what ends up in a branch.

Once bzr-builddeb's code is updated to use the new config stack
infrastructure in bzr 2.5, it should be easy to make
"quilt-commit-policy" entirely tree-specific.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-distributed-devel mailing list