what does "a/:b/" stand for?

Bug #1030824 reported by Timmie
6
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://developer.ubuntu.com/packaging/html/udd-patchsys.html

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

Tags: udd

Related branches

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

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?

Changed in ubuntu-packaging-guide:
status: New → Triaged
importance: Undecided → Low
tags: added: udd
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.
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.