Some question about bzr

Goffredo Baroncelli kreijack at alice.it
Tue Sep 6 20:34:55 BST 2005


On Tuesday 06 September 2005 21:21, you (Matthieu Moy) wrote:
> Goffredo Baroncelli <kreijack at alice.it> writes:
> 
> > 1) the 'bzr diff' commands adds to the standard diff format some information as the
> > renaming/creating/deleting of a file. However I don't know how import a patch 
> > including those information.
> 
> "patch" will simply ignore them, so, consider this as a normal patch
> (like "diff" would produce).

This is true if there isn't any rename. In this case a true patch file contains something 
like:

--- old-file
+++ /dev/null
@@ -123,234 +123,456 @@
- bla
- bla
- bla
--- /dev/null
+++ new-file
@@ -123,234 +123,456 @@
+ bla
+ bla
+ bla

Instead a bzr diff contains something like:
*** renamed file 'a' => 'b'


However thanks for your quickly response

Goffredo

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack @ inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9




More information about the bazaar mailing list