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
1
vote
3 answers

hg convert not actually converting?

I run the following hg command and see a whole bunch of revision numbers & their messages fly past my screen, but when it finishes the destination hg repository is empty. hg convert -s p4 //depot/proj1/... c:\hg\proj1 --config…
Mesan
  • 103
  • 1
  • 5
1
vote
1 answer

Mercurial convert with --branchmap : converting branch names containing spaces

I'm using hg convert to clean up the mess in some hg repositories. In the process I'm using the --branchmap option to rename some branches. The problem is, branches with a space in the name (a b) don't get renamed. I tried enclosing them in quotes…
Dinu
  • 1,374
  • 8
  • 21
1
vote
1 answer

hg convert from git - produces hg folder only?

I am using hg convert to convert a Git repo into Mercurial on a Mac running macOS Mojave. I've looked at similar questions How to use hg convert properly and hg convert not actually converting? but they haven't provided a definitive answer. The…
ksl
  • 4,519
  • 11
  • 65
  • 106
1
vote
2 answers

HG Convert not working on local CVS repository

I have been trying to use HG convert to migrate a local CVS repository to HG. When I run the command... hg convert CATools I see the following message: "Valid-requests", but got '') "Valid-requests", but got '')> assuming destination…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
0 answers

incorrect Subversion info in mercurial changeset after svn convert

I used hg convert to migrate my svn repository to Mecurial. It has been successful on the most part. However, i have one svn repository that is just a folder of word files and this displays undesired information in the 'Subversion:' property in the…
1
vote
1 answer

How to extend another extension's command in Hg?

I want to add additional option to the hg convert command, which is provided by internal extension hgext.convert. I try to do the following in my __init__.py: def extsetup(ui): entry = extensions.wrapcommand(commands.table, 'convert',…
abyss.7
  • 13,882
  • 11
  • 56
  • 100
1
vote
1 answer

Case folding conflict in hg after converting from svn

I'm thinking about switching to hg from svn so I ran the convert script to convert our 5-year-old svn repository. The conversion ran overnight and didn't appear to have any problems. Then I went to the new hg repo directory and tried to run "hg…
azbithead
  • 33
  • 3
1
vote
1 answer

Converting from CVS to SVN to Hg, does 'hg convert' require pointing to an SVN checkout or just a repo?

As part of migrating full CVS history to Hg, I've used cvs2svn to create an SVN repo in a local directory. It's first level directory structure is: 2010-04-21 09:39 AM . 2010-04-21 09:39 AM .. 2010-04-21 09:39…
Terry
  • 31
  • 3
1
vote
2 answers

Error when splitting a mercurial repository

I have a mercurial repository hosted on bitbucket containing several folders. My goal was to split each of these folder into a separate repository. After trying a few things suggested on stackoverflow, which failed, my last throw of the dice was to…
fridaymeetssunday
  • 1,118
  • 1
  • 21
  • 31
1
vote
1 answer

Cannot use hg-git or hg convert to convert a Git repository to Mercurial

I am trying to convert an existing git repository to mercurial, but am having no luck. I have already tried hg convert, but when I run hg convert as follows: hg convert --source-type git --dest-type hg file:///home/localalexa/GitProject/ I get the…
codewario
  • 19,553
  • 20
  • 90
  • 159
1
vote
2 answers

Mercurial repository cleanup preserving Kiln/Fogbugz history

TL;DR Version: Is it possible to reorganize a Mercurial repo without breaking Kiln/Fogbuz history? Or do I have to start fresh? I have a repository that is a real mess, in need of some serious cleanup, and am trying to figure out how best to do it.…
elixenide
  • 44,308
  • 16
  • 74
  • 100
1
vote
1 answer

Convert Bazaar repo to Mercurial

I'm using GUI's to handle my version control. Currently I'm using Bazaar Explorer (GUI for bzr) , but I'd like to use TortoiseHG (GUI for hg). For Windows users like me, I found several indication that this can be done via the command line using:…
1
vote
1 answer

Synchronizing changes from a child mercurial repository created with hg convert back to its parent mercurial repository

I have a parent repository A. I've created a small child repository B of the parent repository containing a cherry-picked small list of sub-folders for access by another team using hg-convert hg convert A B --filemap filemap.txt where filemap.txt…
persiflage
  • 1,154
  • 12
  • 22
1
vote
1 answer

Hg convert fails with: "abort: unknown revision !"

How can I figure out how to debug the following issue given the scenario? I have previously run hg convert on the source and target repos and all worked fine. I'm running it again to convert new changesets from the source. Version Mercurial…
codekaizen
  • 26,990
  • 7
  • 84
  • 140
1
vote
1 answer

Running hg convert on Linux

I would like to convert a remote Perforce repository into a Mercurial repository on Linux. So I have installed Python and Mercurial on a Linux box. Then I test few hg (Mercurial's drive program) commands. All are working fine. Now without creating…
praveen
  • 303
  • 1
  • 9
  • 17