Jump to content

Why is svn revision history not imported into git ?

Guest Reiner030

Recommended Posts


sorry if this question was already asked - the searched for "git", "svn" or "git svn" and the forum says always:

The following errors occurred with your search:

* Sorry - no matches. Please try some different terms.

So... I asked this question because it's very easy (but not quick made).

I tried it as described on this page:


(without author remapping) and get a nice result:

r6766 = 3b1f43e134513f415414836c40404a9e9ea0e945 (trunk)
       M       src/shared/Common.h
       M       src/game/WorldSocket.cpp
r6767 = 321a9d099c1c8ab53ba7aeab2c2dc33d8cda608d (trunk)
Auto packing your repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 60221, done.
Compressing objects: 100% (60102/60102), done.
Writing objects: 100% (60221/60221), done.
Total 60221 (delta 49552), reused 0 (delta 0)
Removing duplicate objects: 100% (256/256), done.
Checking out files: 100% (3338/3338), done.
Checked out HEAD:
 [url]https://mangos.svn.sourceforge.net/svnroot/mangos/trunk[/url] r6767

# git clone mangos-svn mangos-svn-final
Initialized empty Git repository in /home/mangos/git/mangos-svn-final/.git/
Checking out files: 100% (3338/3338), done.

Here a look on the log:

# git log

commit 321a9d099c1c8ab53ba7aeab2c2dc33d8cda608d
Author: mr_derex <mr_derex@26674162-90ff-0310-a85b-b64107c8dee9>
Date:   Mon Oct 13 19:52:18 2008 +0000

   * Some small cosmetics in netcode patch.

commit 3b1f43e134513f415414836c40404a9e9ea0e945
Author: mr_derex <mr_derex@26674162-90ff-0310-a85b-b64107c8dee9>
Date:   Sun Oct 12 21:19:42 2008 +0000

   * Restore a from previous commits.
   * Add configuration options to mangosd.conf.

commit 8391adbba045352e0eee36a147bd81ca5f6bdce3
Author: mr_derex <mr_derex@26674162-90ff-0310-a85b-b64107c8dee9>
Date:   Sun Oct 12 19:08:22 2008 +0000

   * Add Makefiles for ACE netcode patch.
   * Some other Makefile fixes.

If you want take a look at the git archive, I packed the .git folder

http://rapidshare.com/files/155586090/git-mangos-r6767.rar (45MB)

It could be downloaded, extracted and then checked out ;-) - tested under git-gui under windows.

Perhaps you can import the svn repo into the git repo ?

Link to comment
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use