what does "a/:b/" stand for?
Bug #1030824 reported by
Timmie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Packaging Guide |
Fix Released
|
Low
|
Andrew Starr-Bochicchio |
Bug Description
On page:
http://
I have difficulties to understand, what in $ bzr diff -p "a/:b/" > ../bug-12345.patch
the part "a/:b/" stands for.
Also, please explain: how do I issue the revision diff (e.g. bzr diff -r1306 setup.py) in the correct quilt format
Related branches
lp:~andrewsomething/ubuntu-packaging-guide/patches-cleanup
- Daniel Holbach (community): Approve
-
Diff: 236 lines (+9/-186)3 files modifieddebian/changelog (+2/-0)
ubuntu-packaging-guide/patches-to-packages.rst (+7/-7)
ubuntu-packaging-guide/udd-patchsys.rst (+0/-179)
Changed in ubuntu-packaging-guide: | |
status: | Triaged → In Progress |
assignee: | nobody → Andrew Starr-Bochicchio (andrewsomething) |
Changed in ubuntu-packaging-guide: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-packaging-guide: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There's a hint there, but no it is not entirely clear. This should get cleaned up a bit.
From 'bzr help diff'
-p ARG, --prefix=ARG Set prefixes added to old and new filenames, as two
values separated by a colon. (eg "old/:new/").
Here's an example:
$ bzr diff
=== modified file 'bar'
--- bar 2012-07-30 14:43:52 +0000
+++ bar 2012-07-30 14:44:09 +0000
@@ -1,1 +1,1 @@
-Some text.
+Different text.
$ bzr diff -p "a/:b/"
=== modified file 'bar'
--- a/bar 2012-07-30 14:43:52 +0000
+++ b/bar 2012-07-30 14:44:09 +0000
@@ -1,1 +1,1 @@
-Some text.
+Different text.
$ bzr diff -p "old/:new/"
=== modified file 'bar'
--- old/bar 2012-07-30 14:43:52 +0000
+++ new/bar 2012-07-30 14:44:09 +0000
@@ -1,1 +1,1 @@
-Some text.
+Different text.
See what changed?