convert-repo problem in 0.9.4

Christian Ebert blacktrash at gmx.net
Mon Jul 2 18:19:51 CDT 2007


* Brendan Cully on Monday, July 02, 2007 at 14:13:34 -0700:
> On Monday, 02 July 2007 at 16:05, John Gateley wrote:
>> 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.

What would happen if you "hg up -C [rev]" ? And work from there?

>> Am I doing something wrong? Is this a bug?
> 
> The working directory of the target repository is not useful for
> anything but convert.

Oh.

> Clone it to a new location and work from there.

Naively I do/did work in a converted cvs repo. So far no probs,
even though I started converting with an old convert-repo and
have switched now to hg convert. The behaviour is a bit
different, but nothings seems broken.

What did I miss?

c

-- 
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/>
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>


More information about the Mercurial mailing list