[patch] export with symlinks

Joachim Nilsson joachim.nilsson at vmlinux.org
Wed Nov 2 15:46:27 GMT 2005


Hi,

small patch obvious patch to fix "bzr export" of tree with symlinks.
Btw, how do you guys prefer to get patches, bzr branch, via mail,
attached or inline, with or w/o ChangeLog?


$ bzr diff -r1372 bzrlib/inventory.py
=== modified file 'bzrlib/inventory.py'
--- bzrlib/inventory.py
+++ bzrlib/inventory.py
@@ -646,7 +646,7 @@

     def _put_in_tar(self, item, tree):
         """See InventoryEntry._put_in_tar."""
-        iterm.type = tarfile.SYMTYPE
+        item.type = tarfile.SYMTYPE
         fileobj = None
         item.size = 0
         item.mode = 0755


Regards
/Jocke

-- 
Joachim Nilsson :: <joachim AT vmlinux DOT org> 
+46(0)21-123348 :: <http://vmlinux.org/joachim/>





More information about the bazaar mailing list