Skip to contentSkip to conversation

git svn rebase does not follow new svn tags and branches

DISCUSSION Bob Cotton 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Bob Cotton

author
#0 lore raw

I've been using git-svn for several weeks. After replaying svn using git-svn clone and git-svn fetch, all branches and tags were replicated in the git repo.

Now, after a workflow that includes git-svn rebase, but no git-svn fetch(s), the new svn tags and branches are not being replicated.

I've read the code, and tried rebase --follow-parent.

Thoughts?
- Bob

#1 lore raw
Quoted 7 lines · Bob Cotton

I've been using git-svn for several weeks. After replaying svn using git-svn clone and git-svn fetch, all branches and tags were replicated in the git repo.

Now, after a workflow that includes git-svn rebase, but no git-svn fetch(s), the new svn tags and branches are not being replicated.

git svn rebase only fetches the revisions that are required to do the rebase, which speeds the process up quite a bit. Imagine you're working on branch "foo" and trunk is quite active. If git svn rebase would always fetch all the new revisions for trunk as well (which you might not need right now), that could become quite annoying.

If you want all remote branches/tags (incl. trunk) to be updated, use git svn fetch.

Björn