Questions tagged [version-control-migration]

60 questions
4
votes
5 answers

SVN Delete with wildcard?

I'm migrating a VSS repository to SVN and inadvertently included all of the _vti_cnf, *.scc files in the first check-in. I'd like to remove these from SVN. (Not permanently, of course - just in the HEAD). The application in question is quite large,…
3Dave
  • 28,657
  • 18
  • 88
  • 151
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…
IsmailS
  • 10,797
  • 21
  • 82
  • 134
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…
Dilshod
  • 3,189
  • 3
  • 36
  • 67
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…
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 …
bta
  • 43,959
  • 6
  • 69
  • 99
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…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
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…
Mark Booth
  • 7,605
  • 2
  • 68
  • 92
2
votes
1 answer

Migrate from Git to SVN with full history

I have a standalone Git repository, which I would like to migrate to a new SVN repository. At a minimum, I'd like to migrate the master branch with full history, but ideally I'd like to migrate all branches and tags. I only need to do a one-time…
David Yaw
  • 27,383
  • 4
  • 60
  • 93
2
votes
0 answers

TypeError: __init__() got an unexpected keyword argument 'interactive' (Converting Mercurial repository to Git)

I have a mercurial repository named "climate-sensitivity-gcm" that I am attempting to convert to git using the fast-export method in a Linux terminal. I enter the following in my command line: $ ~/fast-export/hg-fast-export.sh -r…
Brandon
  • 91
  • 1
  • 11
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…
B Faley
  • 17,120
  • 43
  • 133
  • 223
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…
Richard Hansen
  • 51,690
  • 20
  • 90
  • 97
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…
Svein Fidjestøl
  • 3,106
  • 2
  • 24
  • 40
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 …
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…
Jaxidian
  • 13,081
  • 8
  • 83
  • 125
2
votes
2 answers

Is there a way to merge the commit history from an SVN repository to a Git branch?

We currently have several small semi-related SVN repos that are inactive as far as commits go. However, they occasionally need to be used and/or their commit history needs to be reviewed. We would like to move all of them into a single pre-existing…
Nate
  • 150
  • 8