-
Notifications
You must be signed in to change notification settings - Fork 38
Home
Welcome to the red5 mirror repository!
This is a mirror of the Red5 SVN repository at http://code.google.com/p/red5/source/checkout
First, clone the git repository
git clone git@github.com:ritzalam/red5.git
Go to the git repo dir
cd red5
We need to tell git where the svn repository is located.
vi .git/config
Add the following to the end of .git/config
[svn-remote "red5/trunk"]
url = http://red5.googlecode.com/svn/java/server/trunk
fetch = :refs/remotes/red5/trunk
Now, let's determine the last Red5 commit that we have mirrored.
git log
Here we see that we have up mirrored up until r4219
and that it's git commit id is 1501658da7b3f1b7785f24ddd1f27789495bf5de
commit 1501658da7b3f1b7785f24ddd1f27789495bf5de
Author: mondain <mondain@1b6495e4-3631-0410-8e05-8f51eee8b9cc>
Date: Fri Apr 29 16:24:19 2011 +0000
Added helpful log entry for AMF deserialization of custom classes. Added null checks to connection close.
git-svn-id: http://red5.googlecode.com/svn/java/server/trunk@4219 1b6495e4-3631-0410-8e05-8f51eee8b9cc
Fetch the last commit from Red5
git svn fetch red5/trunk -r4219
We init our local git repo of the last commit id.
echo 1501658da7b3f1b7785f24ddd1f27789495bf5de > .git/refs/remotes/red5/trunk
Then we update to the latest git commit
git svn red5/trunk rebase
Push the changes to remote git repository.
git push origin master
git diff --no-prefix > patchfile