On Thursday, September 27, 2012 2:43:17 PM UTC+2, Alexis Thongvan wrote:

> Hi,
>
> I cannot clone a svn repository with "git svn clone svn://adress/repo 
> --stdlayout"
> For some reason git-svn doesn't like r119 wich is a commit of an empty 
> directory
>
> the error is : r119 = [NUMBERS] (refs/remotes/mikael)
> Filesystem has no item : working copy path 'branches/Mikael' does not 
> exist in
> repository at /usr/lib/perl5/site_perl/Git/SVN/Ra.pm line 276
>
> Here is the SVN commit history :
>
>     119 : /branches/Mikael added (en empty folder)
>     120 : /branches/Mikael deleted
>     121 : /branches/Mikael/file.txt added
>
> I tried wit git 1.7.8, 1.7.9, 1.7.10 and 1.7.11, each time I get the same 
> error.
>

Sounds like a bug in git-svn, although I don't have the time to try 
recreating it myself now. You could ask on the Git developer list.

As a workaround, you can split the cloning into two parts: part A from 
r1:119 (not including), and part B from r121:HEAD.

Aftwards, you can graft the two repositories into 
one<http://blog.tfnico.com/2010/10/gitsvn-6-grafting-together-svn-history.html>
.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/7m6AEW-pbkkJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to