git-svn: path probably does not exist
Tagged:  •  

I wanted to check out a folder from the KDE Subversion repository as a git repository, so I used the git-svn tool to accomplish that. These were the steps I followed:

  1. git svn init \
    https://bram@svn.kde.org/home/kde/trunk/extragear/utils/rsibreak
  2. git svn fetch

But that didn't work out, I got the following error:

W: Ignoring error from SVN, path probably does not exist: (175007): HTTP Path Not Found: REPORT request failed on '/home/kde/!svn/bc/100/trunk/extragear/utils/rsibreak': '/home/kde/!svn/bc/100/trunk/extragear/utils/rsibreak' path not found

It seems that I forgot to supply a revision number at the second step, because that particular path did not exist in the repository at revision 1. So the second step should be:

git svn fetch -r789425

And that was enough to fetch the tree from the Subversion repository.