Comment 1 for bug 246493

Revision history for this message
Brian Fallik (bfallik) wrote :

I agree.

I was unable to get git-import-orig to work at all from Hardy. The traceback when run on a xxx.orig.tar.gz file was:
Traceback (most recent call last):
  File "/usr/bin/git-import-orig", line 211, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/git-import-orig", line 181, in main
    import_source_tree(repo, orig_dir, version, options.filter, verbose=not is_empty)
  File "/usr/bin/git-import-orig", line 56, in import_source_tree
    old = set(repo.index_files())
  File "/var/lib/python-support/python2.5/gbp/git_utils.py", line 84, in index_files
    files = [ file for file in out[0].split('\0') if file ]
IndexError: list index out of range

My workaround was to use a very big hammer. I created an Intrepid chroot and used get-import-orig from there.