Bazaar Export Command Not Handling Long Path Names

John Arbash Meinel john at arbash-meinel.com
Wed May 21 18:49:52 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Talbert, Phil W wrote:
| Bazaar users,
|
| We are trying to use the Bazaar export command for format tgz. The
| problem is we have some path names over 100 characters and there seems
| to be a limit of 100 characters. Is this a Bazaar limit or should I be
| asking this question of the Python folks. I have found information that
| says Python's export command supports long path names but do not know
| how to do this using the "bzr export" command. Is there an option I need
| to pass to Python to make this work?
|
| Thank You,
|
| */Phil Talbert/*
| /Lockheed Martin Aeronautics Company
| phil.w.talbert at lmco.com
| (817) 763-2873/
|
|

The tar file format has a limit of 100 chars in filenames. Newer tar programs
work around this with "interesting" methods (I believe the standard is to use
@longfilename for the filename on *this* file, and then the next record is the
real filename, etc). We use python's built in 'tar' library for creating the
tarballs, it is possible it doesn't know how to handle long filenames.

You can always 'bzr export ../directory; cd ..; tar cvjf directory.tar.bz2
directory'

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg0YMAACgkQJdeBCYSNAAPzOQCeJIpOTOLSTCd/6wLvSzD8DO4a
yUgAmgMdWPGcuECs09qCJfElA7EckiXE
=mmLQ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list