* edit-patch:

- fix quilt mode when dpkg already applied all the patches 
    (LP: #556297)
This commit is contained in:
Michael Vogt 2010-04-06 10:45:40 +02:00
parent b875c4e884
commit 1e27007d44
2 changed files with 10 additions and 2 deletions

5
debian/changelog vendored
View File

@ -14,6 +14,11 @@ ubuntu-dev-tools (0.97) UNRELEASED; urgency=low
file instead of screen scraping.
* Apply patch from Julian Andres Klode for the python-apt 0.8 API transition
(Closes: #572091)
[ Michael Vogt ]
* edit-patch:
- fix quilt mode when dpkg already applied all the patches
(LP: #556297)
-- Michael Bienia <geser@ubuntu.com> Sat, 27 Mar 2010 20:14:24 +0100

View File

@ -112,7 +112,10 @@ edit_patch_quilt() {
if [ -e debian/patches/$1 ]; then
quilt push $1
else
quilt push -a
# make the new patch the last entry
if quilt unapplied >/dev/null; then
quilt push -a
fi
quilt new $1
fi
# use a sub-shell
@ -188,4 +191,4 @@ main() {
vcs_commit
}
main $@
main $@