git svn fetch -with -r doesn't fetch anything
Hi,
I upgraded to:
Quoted 1 line
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:
Quoted 1 line
git svn init https://myserver.com/repo
and want to fetch the latest revision (or a little bit in the past) with
Quoted 1 line
git svn fetch -r1234
But git svn rebase runs in an error:
Quoted 1 line
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
Quoted 1 line
git svn fetch
works. But it fetches *all* revisions (and this takes a while ...)
Is it a bug or a feature?
Thanks
Martin
Okay,
I found it:
Quoted 4 lines
and want to fetch the latest revision (or a little bit in the past) with
Quoted 1 line
git svn fetch -r1234
git svn fetch -r1234:HEAD
will do what I want ...
Martin