I've been following the excellent blog tutorials on the SVN to Git migration. In the tutorial under Preparation: Step 2 there is the following comment:
# If you plan on making _any_ more changes to your SVN repository please run the following
I took this to mean we could continue to use SVN OnDemand and that the sync process outlined could capture new branches. Is this possible?
We are at a stage where we have created a SVN repo from the OnDemand dump and new code is synced to Bitbucket every 15 min.
The problem is that NEW branches created in SVN after the time the dump was created do not show up in the local git repo to be pushed out to Bitbucket. (New code on trunk does.)
Our sync script is rather simple, basically:
svnsync sync file:///created_from_dump/local-svn/
# Sync local SVN to local Git
git-svn fetch && java -Dfile.encoding=utf-8 -jar /.../svn-migration-scripts.jar sync-rebase
# Push new code/branches/tags
git push --all bitbucket-ssh -u
git push --tags bitbucket-ssh