error during import from git / filenaming issue

Bug #518341 reported by frankwhofmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

"bzr fast-import" breaks due to a unusal filename:

hofmann@server:/data/SAVED_CONTENT/CLIENT_BACKUP/home/hofmann/WORKSPACE/swdev$ git fast-export master | (cd /data/BZR_REPOSITORIES/SWDEV; bzr fast-import -)
ABORT: exception occurred processing commit :5485
bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: Index of \maven\2\com\sun\mojarra\mojarra-scales\.desktop

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/hofmann/.cache/crash/bzr-20100207093724-17345.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

----------------------------------------------------------------------------
the filename in question, which causes the error, is
"Index of \maven\2\com\sun\mojarra\mojarra-scales\.desktop"
and contains blanks as well ass backslashes!
(not invented by me, but part of a download from the JavaEE ecosystem).
Looks like bzr cannot handle yet all possible filenames (escaping issue).

Revision history for this message
frankwhofmann (frank-hofmann-hoffe) wrote :
Revision history for this message
frankwhofmann (frank-hofmann-hoffe) wrote :

supplement/correction:
I was wrong stating that I downloaded the file which made bzr crash -- correct is that the filename was generated automatically when I dropped the download location from firefox to the Gnome desktop, and copying that later into the archive tree to document where the file is from. I suppose that firefox deduced the strange filename from the html title of the download page, but anyway: bzr should be able to handle this (as git did).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.