Questions tagged [version-control-migration]
61 questions
4
votes
1 answer
Migrate to GIT from TFS with multiple branches and their history
C:\>git tf clone https://companyname.visualstudio.com/DefaultCollection $/companyname/Main OldTFS --deep
This only gets me main branch history. That was git tf.
C:\>git tfs clone https://companyname.visualstudio.com/DefaultCollection…
![](../../users/profiles/148271.webp)
IsmailS
- 10,338
- 18
- 73
- 128
4
votes
1 answer
Migrating from Mercurial to Git
I know this question asked before several times and marked "possible duplicate", but none of them seems working correct. I tried fast-export and it gives error. Could anyone help How to migrate from Mercurial to Git? I need the history. It would be…
![](../../users/profiles/2182401.webp)
Dilshod
- 2,925
- 2
- 30
- 62
3
votes
2 answers
Migrating from CS-RCS to Mercurial
I've been using ComponentSoftware's CS-RCS Basic for many years now to manage my various single-developer projects. It's worked very well for me, but now I want to migrate to a modern revision-control system, and after studying my options I decided…
![](../../users/profiles/264721.webp)
Gordon Brandly
- 332
- 4
- 12
3
votes
4 answers
Does Subversion have an analogue to VSS's links?
I am migrating a Visual SourceSafe code repository to Subversion and I am running into a problem.
Here is a simplified layout of our current source code tree (in VSS):
project_root\
|-libs\
|-tools\
|-arch_1\
| |-include
| |-source
…
![](../../users/profiles/79566.webp)
bta
- 39,855
- 5
- 67
- 92
3
votes
1 answer
Convert hg branches to git branches?
I must convert a branchy mercurial repo into a git repo AND continue to pull changes from mercurial to git (one-way only) for some time. Existing hg-to-git answers do not seem to handle branches correctly. For example, a small hg repo with…
![](../../users/profiles/233981.webp)
srking
- 3,952
- 1
- 23
- 42
2
votes
1 answer
Slice off part of a Subversion repository?
I have a Subversion repository that has several projects in it. I would like to 'slice off' one or more of those projects and move them to their own repositories, ideally with full fidelity (i.e. keeping all the version history intact).
Is this even…
![](../../users/profiles/98516.webp)
Tim Long
- 13,000
- 18
- 75
- 141
2
votes
1 answer
When converting to git, how should I handle a single directory svn checkout?
I am soon going to be converting my part of an application from using an svn backed repository to using git one.
I've previously used git-svn, but the whole team is being moved to git and I've been asked to be in the vanguard of that move. Although…
![](../../users/profiles/42473.webp)
Mark Booth
- 6,794
- 2
- 60
- 88
2
votes
1 answer
How to import svn branch to git with trunk history
This is the svn trunk path:
http://svn/path/libs/trunk/mylib
And here is the branch path:
http://svn/path/libs/branches/mylib/mylib-feature-branch
I need to migrate only the branch to git, but I also need its trunk history before the branch was…
![](../../users/profiles/69537.webp)
B Faley
- 14,391
- 34
- 113
- 191
2
votes
2 answers
How to skip first N commits when converting svn repo to Git using reposurgeon?
How do I skip the first two commits of a subversion repository when converting it to Git using reposurgeon?
The first svn commit imported code using the wrong branch layout (trunk, tags, branches) and the second commit deleted all of it.
The third…
![](../../users/profiles/712605.webp)
Richard Hansen
- 44,218
- 20
- 84
- 95
2
votes
2 answers
Migrate SVN to Git with filtered history
I would like to migrate a project from SVN to Git and retain history.
But because there are some configuration files with production passwords and other sensitive data in the SVN repository, I would like to exclude those few files from the migrated…
![](../../users/profiles/62837.webp)
Svein Fidjestøl
- 2,359
- 2
- 17
- 39
2
votes
2 answers
Migrate huge SVN repo with common trunk to Git
I need to migrate a really huge SVN trunk with commit history to Git . The SVN repository has the following structure:
branches/
project1-branch1
project1-branch2
project2-branch1
project2-branch2
tags/
project1-1.0
…
![](../../users/profiles/987825.webp)
madridista
- 79
- 12
2
votes
1 answer
How to migrate from SourceGear Fortress 1.1.x to TFS 2010?
I found this question but it was only similar and, more importantly, dated by over a year. I'm hoping there is something I can't find out there and that is better than what that answer points to.
Requirements:
Preserve source code history (even if…
![](../../users/profiles/294863.webp)
Jaxidian
- 12,135
- 7
- 72
- 117
2
votes
1 answer
How to verify svn to git conversion?
What checks do you perform after the svn-to-git to make sure you have all tags/branches/commits etc. as they were on svn and nothing is lost?
Checks I can think of is:
Number and names of git remote branches match svn branches
Number and names of…
![](../../users/profiles/2006173.webp)
lenagold
- 55
- 3
2
votes
2 answers
How to make a backup of Visual Source Safe before migrating to SVN
I am beset by my lot using VSS 2005 (8.0.50727.42) as source control, which I really struggle to get on with. I am proposing moving to SVN http://www.visualsvn.com/server/ and have found a tool which appears to do the migration along with pulling…
![](../../users/profiles/243905.webp)
nat
- 2,065
- 3
- 31
- 56
1
vote
1 answer
How to create a GitHub repository from multiple local non-git versions
Let's say I've been using a small free/open-source code library for a few years, and the project's maintainer/developer does not use any version control system. Instead, new releases are added to a publicly-accessible directory on an ftp server (in…
![](../../users/profiles/1164248.webp)
Darren Slatten
- 11
- 1