CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 24 Aug 2025 17:01:48 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100110051725
location: https://web.archive.org/web/20100110051725/https://github.com/jcoglan/svn2git
server-timing: captures_list;dur=0.770880, exclusion.robots;dur=0.026244, exclusion.robots.policy;dur=0.009459, esindex;dur=0.014000, cdx.remote;dur=47.272986, LoadShardBlock;dur=1293.598362, PetaboxLoader3.datanode;dur=193.346825, PetaboxLoader3.resolve;dur=944.654860
x-app-server: wwwb-app239
x-ts: 302
x-tr: 1610
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app239; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 24 Aug 2025 17:01:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 10 Jan 2010 05:17:25 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "41af5a787e9ba2d8b4a138b5e39b12f9"
x-archive-orig-x-runtime: 79ms
x-archive-orig-content-length: 22562
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 10 Jan 2010 05:17:25 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 03 Oct 2009 02:17:47 GMT", ; rel="prev memento"; datetime="Tue, 08 Dec 2009 06:38:45 GMT", ; rel="memento"; datetime="Sun, 10 Jan 2010 05:17:25 GMT", ; rel="next memento"; datetime="Fri, 19 Feb 2010 02:07:25 GMT", ; rel="last memento"; datetime="Thu, 22 May 2025 22:58:17 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20100110032403_crawl101-c/51_13_20100110051508_crawl101.arc.gz
server-timing: captures_list;dur=0.855765, exclusion.robots;dur=0.022440, exclusion.robots.policy;dur=0.008766, esindex;dur=0.011666, cdx.remote;dur=28.183257, LoadShardBlock;dur=3886.298639, PetaboxLoader3.datanode;dur=3915.249907, PetaboxLoader3.resolve;dur=338.585965, load_resource;dur=405.478479
x-app-server: wwwb-app239
x-ts: 200
x-tr: 4404
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
jcoglan's svn2git at master - GitHub
jcoglan / svn2git
- Source
- Commits
- Network (9)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
-
Branches (1)
- master ✓
- Tags (0)
svn2git /
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Sun May 04 17:31:59 -0700 2008 | Adding README and license information. [James] |
![]() |
README | Sat Jul 19 06:57:56 -0700 2008 | Removing github support. It's buggy, and I usua... [jcoglan] |
![]() |
Rakefile | Sat Jul 19 06:57:56 -0700 2008 | Removing github support. It's buggy, and I usua... [jcoglan] |
![]() |
bin/ | Sat Jul 19 06:57:56 -0700 2008 | Removing github support. It's buggy, and I usua... [jcoglan] |
![]() |
lib/ | Sat Jul 19 06:57:56 -0700 2008 | Removing github support. It's buggy, and I usua... [jcoglan] |
README
== svn2git +svn2git+ is a tiny utility for migrating projects from Subversion to Git while keeping the trunk, branches and tags where they should be. It uses git-svn to clone an svn repository and does some clean-up to make sure branches and tags are imported in a meaningful way, and that the code checked into master ends up being what's currently in your svn trunk rather than whichever svn branch your last commit was in. === Examples Say I have this code in svn: trunk ... branches 1.x 2.x tags 1.0.0 1.0.1 1.0.2 1.1.0 2.0.0 git-svn will go through the commit history to build a new git repo. It will import all branches and tags as remote svn branches, whereas what you really want is git-native local branches and git tag objects. So after importing this project I'll get: $ git branch * master $ git branch -a * master 1.x 2.x tags/1.0.0 tags/1.0.1 tags/1.0.2 tags/1.1.0 tags/2.0.0 trunk $ git tag -l [ empty ] After svn2git is done with your project, you'll get this instead: $ git branch * master 1.x 2.x $ git tag -l 1.0.0 1.0.1 1.0.2 1.1.0 2.0.0 Finally, it makes sure the HEAD of master is the same as the current trunk of the svn repo. === Installation Make sure you have git installed, then install the gem: $ sudo apt-get install git-core git-svn $ sudo gem install svn2git === Usage To create a git repo from an existing svn repo: $ svn2git https://svn.yoursite.com/path/to/repo This will create a git repository in the current directory with the git version of the svn repository. If you're not using the standard trunk/branches/tags layout, you can pass arguments to tell git-svn what to look for: $ svn2git https://svn.yoursite.com/path/to/repo trunk=the_trunk tags=taggings === Authors To convert all your svn authors to git format, create a file somewhere on your system with the list of conversions to make, one per line, for example: jcoglan = James Coglan <jcoglan@never-you-mind.com> stnick = Santa Claus <nicholas@lapland.com> Then pass an +authors+ option to +svn2git+ pointing to your file: svn2git https://repos.com/myproject authors=~/authors.txt
This feature is coming soon. Sit tight!