[PATCH] bzr export --format uses incorrect directory names
Wouter Bolsterlee
uws at xs4all.nl
Tue Sep 27 22:39:48 BST 2005
På Tue, Sep 27, 2005 at 11:33:49PM +0200, Wouter Bolsterlee skrev:
> So, I end up with files like "myproject-snapshot-revno-NNN.tar/README".
Proposed patch attached.
mvrgr, Wouter
--
:wq mail uws at xs4all.nl
web http://uwstopia.nl
soon i know i'll be back with you :: i'm nearly with you -- zero 7
-------------- next part --------------
--- bzrlib/builtins.py.orig 2005-09-27 23:24:03.000000000 +0200
+++ bzrlib/builtins.py 2005-09-27 23:24:39.000000000 +0200
@@ -927,6 +927,8 @@
format = "tbz2"
else:
format = "dir"
+ if root.endswith(".tar"):
+ root = root[:-4]
t.export(dest, format, root)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050927/a4c983f4/attachment.pgp
More information about the bazaar
mailing list