Op 4-10-2011 16:25, Tommaso Cucinotta schreef:
Il 04/10/2011 10:08, Vincent van Ravesteijn - TNW ha scritto:
Hi Tommaso,
No, we don't have one yet. Uptil now it is all manual labor.
However, I happen to have installed a git repo on my own server now,
to which I will gradually add more functionality.
Also, I think in the end I probably found out that I can be happy with
git-svn, but the problem is that it is still checking out (ehm,
fetching) the ~40 thousands revisions since this morning (over my ADSL
line -- still ~22K out of the ~40K we have). If I stop it and delete
the whole thing, and issue a
git-svn clone -r30000 svn://svn.lyx.org/lyx/lyx-devel/trunk
or
git-svn fetch -r30000 svn://svn.lyx.org/lyx/lyx-devel/trunk
do you think I could avoid to have the whole history of LyX with me ?
T.
This will be faster:
The LyX repository on Gitorious now contains the full history. Using
the following steps, you can checkout this repos and connect it to svn
afterwards, so you can sync the repos to svn yourself.
# 1. checkout the git repository from gitorious
git clone...@gitorious.org:lyx/lyx.git
# or for read-only access:
#git clone git://gitorious.org/lyx/lyx.git
# 2. Initialize git svn, this should be the same as the line with
# which the repository is created, seehttp://wiki.lyx.org/Devel/Git
git svn initsvn://svn.lyx.org/lyx/lyx-devel/ -T trunk -b branches -t tags
# 3. Set the svn trunk branch to the current master
cd lyx
copy .git\refs\heads\master .git\refs\remotes\trunk
# 4. rebuild rev_map
git svn fetch -r<last_revision>
# 5. retrieve new commits from svn
git svn fetch
# 6. update to svn head, i.e fast-forward master branch to remotes\trunk
git svn rebase
Vincent