Skip to contentSkip to conversation

Questions about qemu svn/git sync

Qemu-devel Jun Ma 4 participants 6 messages May 2, 2008 – May 4, 2008

lore
Share & tools
lore

Jun Ma

author
#0 lore raw

I'm quite new to qemu, and I git cloned its repo from "
git://git.kernel.dk/data/git/qemu.git" several days ago, the annoying question for me is : qemu git repo seems not sync with your svn one?

the last git repo update is done on Apr 14, for revision 4215, Is there anything wrong? Or should I drop the git one?

commit 7e7c5e4c1ba5c9b7efcf1b0c1e34ea150c286e58

Author: balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Date:   Mon Apr 14 21:57:44 2008 +0000

Nokia N800 machine support (ARM).

Also add various peripherals: two miscellaneous Nokia CBUS chips, EPSON S1D13745 LCD/TV remote-framebuffer controller, TWL92230 - standard OMAP2 power management companion chip on i2c. Generic OneNAND flash memory,
TMP105 temperature sensor on i2c.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4215 c046a42c-6fe2-441c

Signature · 1 line
FIXME if it is wrong.
#1 lore raw
Quoted 7 lines · Jun Ma

I'm quite new to qemu, and I git cloned its repo from "
git://git.kernel.dk/data/git/qemu.git" several days ago, the annoying question for me is : qemu git repo seems not sync with your svn one?

the last git repo update is done on Apr 14, for revision 4215, Is there anything wrong? Or should I drop the git one?

HPA is also tracking SVN, here:
http://git.kernel.org/?p=virt/qemu/qemu.git;a=summary

The repo seems up to date.

Luca

#3 lore raw
Quoted 2 lines · Jun Ma

Thanks, Luca.
I will switch to that repo, :).

Its also possible to use git-svn to pull the qemu sources directly from SVN.

http://www.kernel.org/pub/software/scm/git/docs/git-svn.html
http://www.robbyonrails.com/articles/2008/04/10/git-svn-is-a-gateway-drug

Hope this helps,
Erik

Signature · 5 lines
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
C offers you enough rope to hang yourself. C++ offers a fully equipped
firing squad, a last cigarette and a blindfold.
#4 lore raw

Hi,

Quoted 9 lines · Erik de Castro Lopo
Quoted 1 line · Jun Ma

Thanks, Luca. I will switch to that repo, :).

Its also possible to use git-svn to pull the qemu sources directly from SVN.

http://www.kernel.org/pub/software/scm/git/docs/git-svn.html
http://www.robbyonrails.com/articles/2008/04/10/git-svn-is-a-gateway-drug

That is a possibility, but if you want to avoid reimporting the Subversion repository (*1*), you can start from what you got from repo.or.cz and update it yourself, after adding these lines to .git/config:

[svn-remote "svn"]
url = svn://svn.savannah.nongnu.org/qemu
fetch = trunk:refs/remotes/trunk
branches = branches/*:refs/remotes/*
tags = tags/*:refs/remotes/tags/*

Of course, if you use HPA's repository to begin, you have to update the appropriate refs first: git-svn expects the "trunk" branch to be named "refs/remotes/trunk". And HPA somehow maps that to the "master" branch (and does not even bother with tags).

Ciao,
Dscho

*1* I wonder why it was deemed sensible by the QEmu powers to "upgrade" from one crappy version control to another. Whatever.

#5 lore raw
In reply to Luca Tettamanti

Hi,

Quoted 5 lines · Luca Tettamanti
Quoted 4 lines · Jun Ma

I'm quite new to qemu, and I git cloned its repo from "
git://git.kernel.dk/data/git/qemu.git" several days ago, the annoying question for me is : qemu git repo seems not sync with your svn one?

Quoted 7 lines
Quoted 2 lines

the last git repo update is done on Apr 14, for revision 4215, Is there anything wrong? Or should I drop the git one?

HPA is also tracking SVN, here:
http://git.kernel.org/?p=virt/qemu/qemu.git;a=summary

The repo seems up to date.

I updated the repo.or.cz repository to mirror from there.

Ciao,
Dscho