1

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:

hg convert file:///C:\my_bzr_repo

where I made sure the 'convert' extension for TortoiseHG is enabled. However, this does not work. I get the following error message:

file:///C:\my_bzr_repo does not look like a Bazaar repository

Could somebody help me with this?

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
  • Are you sure `C:\my_bzr_repo` is a Bazaar repository? Is there a `.bzr` directory inside? – janos Nov 27 '13 at 17:44
  • Something else to check is whether that file URL is correct. I'm not sure mixing your slashes like that will work. Have you tried just giving it the path without the `file:///` prefix? – dOxxx Nov 27 '13 at 22:52
  • @janos : inside `my_bzr_repo` is a `trunk` folder and a hidden `.bzr` folder which is the Bazaar repository. – George Urvey Nov 28 '13 at 08:29
  • @dOxxx : I tried several paths like `C:\my_bzr_repo\trunk` or `C:\my_bzr_repo\.bzr` but they all give the same error message. With or without the `file:///` prefix. – George Urvey Nov 28 '13 at 08:31

1 Answers1

0

I solved my own problem. For other's that have this problem, here's what I did:

  1. Uninstalled TortoiseHg (because the hg convert command called the Hg scripts from TortoiseHg)
  2. Followed these steps.
  3. Reinstalled TortoiseHg, opened the newly created Hg repo
  4. (Optional) I had to clone the Hg repo in order to copy all the files I wached in the correct directory.

Apparently you'll need the Python (2.7) module of Mercurial in order to make the hg convert command work.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62