git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: VSS to git

From
Alexander Gavrilov <angavrilov@gmail.com>
Date
Mar 2, 2009, 18:55 UTC
Message-ID
<200903022155.31771.angavrilov@gmail.com>
In-Reply-To
<e2b179460903020951h7f1538daya4d3cdb96fc7c65d@mail.gmail.com>
On Monday 02 March 2009 20:51:12 Mike Ralphson wrote:
Show 8 quoted lines
> 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
Previous: Mike RalphsonNext: victorcruz
Message 4 of 5 in “VSS to git”
  1. Chris VelevitchMar 2, 2009
  2. Michael J GruberMar 2, 2009
  3. Mike RalphsonMar 2, 2009
  4. Alexander GavrilovMar 2, 2009
  5. victorcruzNov 5, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.