# VSS to git

5 messages from 2009-03-02 to 2012-11-05. Participants: Chris Velevitch, Michael J Gruber, Mike Ralphson, Alexander Gavrilov, victorcruz.
Thread: https://gitlist.dev/t/18094

## Chris Velevitch, 2009-03-02 17:15

Subject: VSS to git
Message-ID: <b0a3bf780903020915g60d97b76pfdbbd60017625f0a@mail.gmail.com>
URL: https://gitlist.dev/e/b0a3bf780903020915g60d97b76pfdbbd60017625f0a%40mail.gmail.com

```
I can't seem to find any utilities to convert a vss repository to git.
In the absence of such a tool, what is the best approach to converting
an vss repository to git?


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Mar meeting: Bzoo, FlashDevelop, Who's Doing What With AIR and Eclipse Tips
Date: Mon 30th Mar 6pm for 6:30 start
Details and RSVP on http://groups.adobe.com/posts/db02e98146

```

## Michael J Gruber, 2009-03-02 17:48

Subject: Re: VSS to git
Message-ID: <49AC1BFE.2040601@drmicha.warpmail.net>
URL: https://gitlist.dev/e/49AC1BFE.2040601%40drmicha.warpmail.net
In-Reply-To: <b0a3bf780903020915g60d97b76pfdbbd60017625f0a@mail.gmail.com>

```
Chris Velevitch venit, vidit, dixit 02.03.2009 18:15:
> I can't seem to find any utilities to convert a vss repository to git.
> In the absence of such a tool, what is the best approach to converting
> an vss repository to git?

Depending on the complexity of your vss repo, going through svn may be
an option, see

http://kerneltrap.org/mailarchive/git/2008/5/27/1952124

which points at

http://www.pumacode.org/projects/vss2svn

Using those pieces you may even be able to produce a fast-exporter for
vss, whose output you could feed into git-fast-import (vss2svn already
creates an svn dump file).

Michael

```

## Mike Ralphson, 2009-03-02 17:51

Subject: Re: VSS to git
Message-ID: <e2b179460903020951h7f1538daya4d3cdb96fc7c65d@mail.gmail.com>
URL: https://gitlist.dev/e/e2b179460903020951h7f1538daya4d3cdb96fc7c65d%40mail.gmail.com
In-Reply-To: <b0a3bf780903020915g60d97b76pfdbbd60017625f0a@mail.gmail.com>

```
2009/3/2 Chris Velevitch <chris.velevitch@gmail.com>:
> I can't seem to find any utilities to convert a vss repository to git.
> In the absence of such a tool, what is the best approach to converting
> an vss repository to git?

You might be able to two-stage through vss2svn[1], and from there to git.
Or take the guts of vss2* [2] and rewrite the backend to create git
fast-import format?

Mike

[1]http://www.pumacode.org/projects/vss2svn
[2]http://sourceforge.net/projects/vss2cvs

```

## Alexander Gavrilov, 2009-03-02 18:55

Subject: Re: VSS to git
Message-ID: <200903022155.31771.angavrilov@gmail.com>
URL: https://gitlist.dev/e/200903022155.31771.angavrilov%40gmail.com
In-Reply-To: <e2b179460903020951h7f1538daya4d3cdb96fc7c65d@mail.gmail.com>

```
On Monday 02 March 2009 20:51:12 Mike Ralphson wrote:
> 2009/3/2 Chris Velevitch <chris.velevitch@gmail.com>:
> > I can't seem to find any utilities to convert a vss repository to git.
> > In the absence of such a tool, what is the best approach to converting
> > an vss repository to git?
> 
> You might be able to two-stage through vss2svn[1], and from there to git.
> Or take the guts of vss2* [2] and rewrite the backend to create git
> fast-import format?

Last year I experimented with conversion using vss2svn plus a heavily
patched version of git-svnimport, and it worked quite well. The largest
problem is that VSS cannot record directory copies, so the resulting
SVN repository does not have them either. This makes conversion tools
unable to detect any branching, so I had to implement support for
completely arbitrary mapping specs.

I also made an incremental synchronization script for simple actions
(requires logging to be enabled in VSS).

Alexander

P.S: I made some fixes to vss2svn too, they are in a separate branch:
  http://www.pumacode.org/projects/vss2svn/browser/branches/Alexander

```

## victorcruz, 2012-11-05 22:08

Subject: Re: VSS to git
Message-ID: <1352153319414-7570605.post@n2.nabble.com>
URL: https://gitlist.dev/e/1352153319414-7570605.post%40n2.nabble.com
In-Reply-To: <b0a3bf780903020915g60d97b76pfdbbd60017625f0a@mail.gmail.com>

```
To migrate from VSS to GIT can use the following script to run on windows:
https://github.com/victorcruz/vsstogit



--
View this message in context: http://git.661346.n2.nabble.com/VSS-to-git-tp2410442p7570605.html
Sent from the git mailing list archive at Nabble.com.

```
