frej / fast-export

A mercurial to git converter using git-fast-import
http://repo.or.cz/w/fast-export.git
808 stars 255 forks source link

Fatal: Empty path component found in input #240

Closed sp-christian closed 3 years ago

sp-christian commented 4 years ago

Crash during import of GNU Octave.

Most likely with this file path: gui//Quint.pro

  reset refs/heads/master
  commit refs/heads/master
  mark :13331
  committer Jacob Dawid <jacob.dawid@googlemail.com> 1301955138 +0200
  data 16
  M 100644 inline gui//Quint.pro
* data 415

Crash report

frej commented 4 years ago

Christian notifications@github.com writes:

Most likely with this file path: gui//Quint.pro

Looks very likely. I would try writing a plugin which sanitizes the path. Just change the 'filename' field in the file_data dictionary in the plugin's file_data_filter callback (See the README for the details).

frej commented 3 years ago

No response to review comments for the proposed patch in more than 90 days, closing without prejudice for inactivity.