[PATCH] export with top directory for tar format
John A Meinel
john at arbash-meinel.com
Wed Jul 6 16:39:18 BST 2005
John A Meinel wrote:
...
> Well, I think in general having the exported tarbal use '/' is
> probably bad form. Pretty much nobody expects to untar and get files
> in the current directory. I would actually say we should default to
> using the name of the tarball, which can be overridden with something
> like a '--root' flag.
>
> So doing:
>
> bzr export --format=tgz bzr-0.0.5.tar.gz
> Would default to having root = 'bzr-0.0.5'
> And if you wanted, explicitly giving a root would override this behavior.
>
Just to backup my statement, attached is a patch. This leaves in
William's --root flag, but if it is not supplied a default is created
based on the filename.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export-default-root.patch
Type: text/x-patch
Size: 4516 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050706/d5bcd6c8/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050706/d5bcd6c8/attachment.pgp
More information about the bazaar
mailing list