[edit-patch] should take -p and -P options

Bug #620721 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

I wrote up this page to describe one way to turn a Bazaar loom thread into a patch system patch:

https://wiki.ubuntu.com/DistributedDevelopment/Documentation/PatchSystem

It would be nice to be able to use edit-patch instead of quilt directly, but you also want edit-patch to accept the diff on stdin. To make this work correctly, at least with quilt, you'd need edit-patch to also supply quilt import's -P option to properly name the patch file it read from stdin.

Also, because bzr diff's default is -p0 but quilt import's default is -p1, you'd need edit-patch to accept quilt import's -p option to set the proper prefix level.

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Wishlist
Benjamin Drung (bdrung)
summary: - edit-patch should take -p and -P options
+ [edit-patch] should take -p and -P options
Benjamin Drung (bdrung)
affects: ubuntu-dev-tools (Ubuntu) → devscripts (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.