# git svn fetch -with -r doesn't fetch anything

2 messages from 2009-05-05 to 2009-05-05. Participants: Martin.
Thread: https://gitlist.dev/t/19191

## Martin, 2009-05-05 20:18

Subject: git svn fetch -with -r doesn't fetch anything
Message-ID: <4A009F16.50107@gmx.de>
URL: https://gitlist.dev/e/4A009F16.50107%40gmx.de

```
Hi,

I upgraded to:
 > git svn --version
git-svn version 1.6.2.5 (svn 1.5.6)

(svn 1.6.1 doesn't compile, see 
http://www.nabble.com/Re:-svn-commit:-r37415---trunk-subversion-include-td23170203.html 
:-( )

Now I create a git repositiory:
 > git svn init https://myserver.com/repo
and want to fetch the latest revision (or a little bit in the past) with
 > git svn fetch -r1234

But git svn rebase runs in an error:
 > git svn rebase
fatal: ambiguous argument 'HEAD': unknown revision or path not in the 
working tree.
Use '--' to separate paths from revisions
log --no-color --first-parent --pretty=medium HEAD: command returned 
error: 128

With earlier version of git-svn I could fetch only a few revisions. Now only
 > git svn fetch
works. But it fetches *all* revisions (and this takes a while ...)

Is it a bug or a feature?

Thanks
Martin

```

## Martin, 2009-05-05 20:30

Subject: Re: git svn fetch -with -r doesn't fetch anything
Message-ID: <4A00A1D2.3020508@gmx.de>
URL: https://gitlist.dev/e/4A00A1D2.3020508%40gmx.de
In-Reply-To: <4A009F16.50107@gmx.de>

```
Okay,
I found it:

> and want to fetch the latest revision (or a little bit in the past) with
>  > git svn fetch -r1234
> 
 > git svn fetch -r1234:HEAD
will do what I want ...

Martin

```
