diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-24 18:44:49 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-24 18:44:49 +0100 |
commit | dc3ada23508f1c40692e15fcb0cf5e06fd541104 (patch) | |
tree | edd46d17c9e1c8ee08677debdb2adca210cf943e | |
parent | fddfa627cb0ced08188eec1711039e4614a16de7 (diff) |
`3.0 (quilt)' fixup creates .pc/applied-patches since modern dpkg-source creates it even though old ones didn't always.
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | dgit | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 84cf7de..b1a7cc5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ dgit (0.9) unstable; urgency=low * Change our .dsc field name to `Dgit'. Relevant to #720201. * Fix bug handling our synthetic merges when we see them in the remote suite branch. + * `3.0 (quilt)' fixup creates .pc/applied-patches since modern + dpkg-source creates it even though old ones didn't always. -- @@ -1016,6 +1016,13 @@ END local $ENV{$fakeeditorenv} = cmdoutput qw(realpath --), $descfn; runcmd_ordryrun @dpkgsource, qw(--commit .), $patchname; } + + if (!open P, '>', ".pc/applied-patches") { + $!==&ENOENT or die $!; + } else { + close P; + } + commit_quilty_patch(); } |