mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-24 17:31:09 +00:00
Install add-patch link and use it in sponsor-patch.
This commit is contained in:
parent
1ef75a1a23
commit
6348bc3df1
1
debian/links
vendored
1
debian/links
vendored
@ -1,2 +1,3 @@
|
|||||||
|
/usr/bin/edit-patch /usr/bin/add-patch
|
||||||
/usr/bin/pbuilder-dist /usr/bin/cowbuilder-dist
|
/usr/bin/pbuilder-dist /usr/bin/cowbuilder-dist
|
||||||
/usr/share/man/man1/pbuilder-dist.1.gz /usr/share/man/man1/cowbuilder-dist.1.gz
|
/usr/share/man/man1/pbuilder-dist.1.gz /usr/share/man/man1/cowbuilder-dist.1.gz
|
||||||
|
@ -195,9 +195,7 @@ def apply_patch(task, patch):
|
|||||||
ask_for_manual_fixing()
|
ask_for_manual_fixing()
|
||||||
edit = True
|
edit = True
|
||||||
else:
|
else:
|
||||||
# FIXME: edit-patch needs a non-interactive mode
|
cmd = ["add-patch", patch.full_path]
|
||||||
# https://launchpad.net/bugs/612566
|
|
||||||
cmd = ["edit-patch", patch.full_path]
|
|
||||||
Logger.command(cmd)
|
Logger.command(cmd)
|
||||||
if subprocess.call(cmd) != 0:
|
if subprocess.call(cmd) != 0:
|
||||||
Logger.error("Failed to apply diff %s to %s %s." % \
|
Logger.error("Failed to apply diff %s to %s %s." % \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user