Questions tagged [mercurial-convert]

The Mercurial Convert extension converts repositories from other SCMs (or even Mercurial itself) into Mercurial or (with limits) Subversion repositories, with options for filtering and renaming.

The Mercurial Convert extension converts repositories from other SCMs (or even Mercurial itself) into Mercurial or (with limits) Subversion repositories, with options for filtering and renaming.

https://www.mercurial-scm.org/wiki/ConvertExtension

57 questions
17
votes
3 answers

Split Subversion repository into multiple Mercurial repositories?

We're migrating from Subversion to Mercurial and have run into a bump in the SVN->Hg conversion process. Right now, our single SVN repo holds code for a couple distinct "projects", and we'd like to split them apart in the migration process. Our SVN…
erjiang
  • 44,417
  • 10
  • 64
  • 100
17
votes
6 answers

Import TFS History into Mercurial (hg)

Has anyone had any success importing TFS 2008 history into a new Mercurial repository? The only possible solution I've found to date is to go TFS -> svn -> hg using tfs2svn and then using the Convert Extension but I haven't tried this yet.
Kevin Berridge
  • 6,251
  • 6
  • 41
  • 42
11
votes
2 answers

Mercurial convert changes line endings?

I'm using the Mercurial Convert extension to import data from a PerForce repository. The conversion appears to have worked correctly, but all the Windows line endings (CRLF) were replaced by unix endings (LF). Is there a way to get this extension to…
NBS
  • 111
  • 4
8
votes
1 answer

Finding Large Files in Mercurial Repository

Similar to this link but for mercurial. I'd like to find the files that are most contributing to the size of my mercurial repository. I intend to use hg convert to create a new, smaller repository. I'm just not sure yet which files are contributing…
Michael
  • 3,222
  • 2
  • 21
  • 22
8
votes
2 answers

Adding changes from one Mercurial repository to another

When changing the VCS for my project FakeItEasy from SVN to Mercurial on Google Code I was a bit too eager (I'm funny like that). What I did was just checking the latest version out of SVN and then commiting that checkout as the first revision of…
Patrik Hägne
  • 16,751
  • 5
  • 52
  • 60
5
votes
1 answer

How to convert single hg repository to multiple repositories

I have a repository with 5 sub-directories. repo/ a/ file-a b/ file-b c/ file-c d/ file-d e/ file-e How can I convert each sub-directory in to different repositories? (Only relevant changesets to the given sub-directory should…
shantanoo
  • 3,617
  • 1
  • 24
  • 37
5
votes
1 answer

HG Convert on SVN gives "does not look like a Subversion Repository"

I just installed TortoiseHG v2.11 with Mercurial-2.9 I am attempting to convert my local Subversion repositories created with TortoiseSVN 1.8. 4, Subversion 1.8.5 To be sure that my old Subversion repositories don't have any weird quirks I created a…
flutefreak7
  • 2,321
  • 5
  • 29
  • 39
4
votes
1 answer

Hg convert loses branches

I'm trying to convert a Mercurial repository to move all the files into a subdirectory in preparation for merging two repositories into one. The problem that I am having is that some of my branches are being lost in the conversion process. This is…
Steve Kaye
  • 6,262
  • 2
  • 23
  • 27
4
votes
1 answer

Mercurial convert extension not able to pull from remote Git repository

I'm trying to do a 'hg convert', to pull from a Git repo into an Hg one. Now, I don't have Git installed on my Windows 7 machine; is that necessary? I'm using the TortoiseHG commandline, and I have activated the convert extension ('hg help…
Hector
  • 43
  • 2
4
votes
1 answer

Reduce mercurial .hg folder size

I have a mercurial repo with several GB under .hg/store/data. I identified several huge folders under .hg/store/data which start with underscore (e.g.: .hg/store/data/_some_path_example), and they are not present in the working directory. I tried to…
lev haikin
  • 558
  • 4
  • 17
4
votes
2 answers

hg convert - trying to move a directory from one repo to another

So I have a directory called flash. I'd like to move it totally from an existing Mercurial repo located at ~/wdm to another existing Mercurial repo, located at ~/wdm-js. I've been told this is possible with hg convert, but I don't really know how…
AP257
  • 89,519
  • 86
  • 202
  • 261
4
votes
0 answers

Missing Merge Commits, converting SVN repo to hg

I am using the included merge tool of hg to convert from an existing SVN repository. I am using a windows 7 machine with an up to date install of TortoiseHg (version 2.11.2 with Mercurial-2.9.2, Python-2.7.6, PyQt-4.10.3, Qt-4.8.5). I am using this…
4
votes
2 answers

Converting Perforce repositories in to mercurial

I have a perforce repository on Windows machine say (p4). I can access this p4 repo using p4v client by providing IP:PortNumber details. Now I want to run "hg convert" command on this p4 repository from Linux machine so that p4 will be converted in…
praveen
  • 303
  • 1
  • 9
  • 17
4
votes
3 answers

Can't convert a Git repository to Mercurial

I have Git repository that I'm trying to convert to Mercurial. Running hg convert c:\code\git-repo results in the following error: assuming destination git-repo-hg initializing destination git-repo-hg repository abort: cannot find required…
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
3
votes
1 answer

Syncing SVN to Mercurial using svnsync & hg convert -- misses svn:externals?

I've created a Mercurial mirror of an SVN repository (using this tutorial: http://oreilly.com/opensource/excerpts/opensource-mercurial/migrating-to-mercurial.html). The sync works great, except I've noticed it's not picking up an external repository…
Jon L.
  • 2,292
  • 2
  • 19
  • 31
1
2 3 4