Commit ffeeb901 authored by Julien Muchembled's avatar Julien Muchembled

Simplify procedure to update upstream branch

parent a8a872ea
......@@ -14,14 +14,10 @@ upstream is clone of all http://svn.zope.org/repos/main/zc.buildout/trunk
commits, it is updated from time to time by using (NOTE: Still work in progress):
git clone
Put in .git/config:
git svn init --no-minimize-url -T http://svn.zope.org/repos/main/zc.buildout/trunk
git update-ref refs/remotes/trunk origin/upstream
[svn-remote “svn”]
url = http://svn.zope.org/repos/main/zc.buildout/trunk
fetch = :refs/remotes/git-svn
git show origin/upstream | head -n 1 | cut -d ‘ ’ -f 2 > .git/refs/remotes/git-svn
git show origin/upstream | head -n 1 | cut -d ‘ ’ -f 2 > .git/refs/remotes/trunk
git checkout -b upstream origin/upstream # or git checkout upstream
git svn rebase
git push
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment