git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MMartin <html-kurs@gmx.de>
Date
May 5, 2009, 20:18 UTC
Message-ID
<4A009F16.50107@gmx.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

Next: Martin
Message 1 of 2 in “git svn fetch -with -r doesn't fetch anything”
  1. MartinMay 5, 2009
  2. MartinMay 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.