[Tailor] SVN->Git import problem: file appears as both a file and as a directory

Davor Ocelic docelic at hcoop.net
Thu Jul 19 17:06:18 EDT 2007


Hi folks,

I am importing SVN into Git.

At revision #51, I get this:

.....
22:57:22 [I] $ rsync --archive --exclude .svn --exclude .git
/afs/.spinlock.hr/reps/puppet.svn/ /afs/.spinlock.hr/reps/puppet.git
22:57:22 [I] [Ok]
22:57:22 [I] /afs/.spinlock.hr/reps/puppet.git $ git update-index --add
notes/design notes/execution notes/features notes/goals notes/issues
notes/notes
22:57:22 [W] [Status 128]
22:57:22 [E] Failure replaying: Revision: 51


Trying to run the git-update-index command manually, I get:

$  git update-index --add notes/design notes/execution notes/features
notes/goals notes/issues notes/notes
error: 'notes/design' appears as both a file and as a directory
error: notes/design: cannot add to the index - missing --add option?
fatal: Unable to process path notes/design


What can I do to extract the relevant SVN log and see why is the file
treated as both file and directory?

Thanks,
-doc



More information about the Tailor mailing list