Modify ↓
#2807 closed defect (fixed)
resync breaks if first commit is empty
Reported by: | anonymous | Owned by: | Herbert Valerio Riedel |
---|---|---|---|
Priority: | normal | Component: | GitPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
If the first commit is empty, e.g. by importing using git-svn a repository whose first commit creates only a directory (which git does not support), trac-admin resync fails with the following error:
IndexError: list index out of range
A patch is attached, this may or may not be the right way to fix it.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
fix for the problem