[Mono-dev] looking for a git-svn repository
apenwarr at gmail.com
Wed Nov 28 20:58:42 EST 2007
On 28/11/2007, David Brown <mono at davidb.org> wrote:
> I found these, but the rest of the instructions didn't work. Specifically,
> the "git-svn rebase" command couldn't figure out where the repo was.
> Perhaps it is because I was pulling from the anon server and the person who
> made the original mirror pulled from an account.
> But, it did give me a snapshot that isn't too old.
You can't clone a git-svn server with git-clone. From the git-svn(1) man page:
git-clone does not clone branches under the refs/remotes/ hierarchy
or any git-svn
metadata, or config. So repositories created and managed with using git-svn
should use rsync(1) for cloning, if cloning is to be done at all.
I find this restriction rather annoying (it's just a bug in git, no?),
but it certainly seems to be true in my experience.
The idea, I think, is that you can clone the primary git-svn
repository, and expect it to be updated occasionally *by someone
else*. So you should never, yourself, need to run git-svn. (To check
in a patch, I guess you'd email it to someone who uses svn :))
Alternatively, you clone the git-svn repository only once using rsync,
then update your own copy with git-svn, but never again 'git pull'
from the original. You could then checkin patches yourself via
git-svn dcommit. I don't know if the repo.or.cz repository supports
More information about the Mono-devel-list