[edit-patch] Fails on creating new patch

Bug #1222364 reported by Alain Miltenburg
This bug affects 4 people
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)

Bug Description

edit-patch exits when run on a source package using quilt without any existing patches.

For example:

cd ~
bzr init-repo powernap
bzr branch ubuntu:powernap powernap.dev
cd powernap.dev
edit-patch temp

The script exits without reason.

Further examination shows that the script exits on the 'quilt top' command, which is returning a 2 error status.
The 'set -e' command at the beginning of the 'edit-patch' script is the reason the script immediately exits as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in devscripts (Ubuntu):
status: New → Confirmed
Revision history for this message
Akbarkhon Variskhanov (kbar) wrote :

Such cases are not protected against currently.

There is another command, which you can use to create patches: add-patch.

Since a workaround and another tool exists, I don't think this is necessarily a bug.

Revision history for this message
Rémy MARTIN (rmartin013) wrote :

I encountered the same issue and fixed it locally with a workaround

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch to workaround first creation issue" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Simon Chopin (schopin)
Changed in devscripts (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers