convert-repo problem in 0.9.4

Brendan Cully brendan at kublai.com
Mon Jul 2 16:13:34 CDT 2007


On Monday, 02 July 2007 at 16:05, John Gateley wrote:
> I'm using Mercurial 0.9.4 (and the version of convert-repo
> that is shipped with that) and have a strange behavior:
> 
> I created a simple git repository with one file:
>   ls simple
>   Hello.c
> I converted it to Mercurial:
>   convert-repo simple simple.hg simple.map
> But now I do a status:
>   cd simple.hg
>   hg status
> ? Hello.c
> 
> The log appears to be correct, but Hello.c has not been added to
> the repository. It is in the directory.
> 
> Am I doing something wrong? Is this a bug?

The working directory of the target repository is not useful for
anything but convert. Clone it to a new location and work from
there. If you're just doing a one-shot conversion you can discard the
initial repository.


More information about the Mercurial mailing list