git-svn “Couldn't find revmap for”

I followed this tutorial:
http://www.beletsky.net/2011/06/how-to-start-using-git-in-svn-based.html

I did this and it worked fine for a while i could rebase and dcommit and all.

  • “git push” and “git push --tags” in the same command?
  • git verify trusted tags
  • How do I merge multiple branches into master?
  • How do I connect a COPY (an archive, not a clone) of a git repository to its remote?
  • git stable branch: find not cherry-picked commits
  • How do I use Microsoft's Git-TF 1.0 when TFS is not on-premises
  • But then I got an error when doing “git svn rebase”:
    “Couldn’t find revmap for”
    It seems that git-svn suddenly thinks that my branch is the svn trunk…

    This might be the answer:
    git-svn import only branch

    But I am simply not smart enough to unserstand it.

    Edit
    What I did between the “git svn rebase” that worked and the one giving an error was create a branch and stash a little…

    **Edit 2 **
    This looks useful as well:
    git svn clone > git svn rebase > Unable to determine upstream SVN information from working tree history

  • git push heroku master. Error behid a Proxy
  • Can't open ssh/authorized_keys of user
  • git stash questions
  • How should I merge branch which had been checked out long ago
  • How to list all Git tags?
  • Is there a way to pull from a git repo straight into a firebase hosted website
  • One Solution collect form web for “git-svn “Couldn't find revmap for””

    I seem to only be able to rebase one svn tree at a time. My workflow is currently:

    git checkout master
    git svn rebase   ## fetches revisions that touched svn trunk
    git rebase master localdevbranch
    
    git checkout Release_1.0
    git svn rebase  ## fetches revisions from svn branch/Release_1.0
    git rebase Release_1.0 patch-1.1-dev
    

    But, like you, I imagine there must be a better way to do this… I get lots of revmap errors as well when checking out the svn branch code (but not trunk, for some reason). Seems like one big ‘git svn fetch’ would get everything, and rebase all the tracking branches at once. One at a time is tedious.

    Anyone?

    Git Baby is a git and github fan, let's start git clone.