Importing a CVS Tree
Benoît Allard
benoit at aeteurope.nl
Wed Jun 25 07:51:25 CDT 2008
Dimitris Mouchritsas wrote:
> Benoît Allard wrote:
>> Dimitris Mouchritsas wrote:
>>> Hi all,
>>> We're in the process of moving on from CVS (finally) and we're
>>> checking out what's there.
>>> I'm trying to use
>>>
>>> hg convert myproject
>>>
>>> from a fresh checkout. Even though the command completes with no
>>> error messages and creates a
>>> myproject-hg directory no files seem to be created there. Any idea why?
>>
>> There should have a `.hg` directory with all the repository in it.
>> From myproject-hg directory, you then want to update your working
>> directory using `hg update`. The files should appears.
> Yes, the .hg directory exists but when I try update I get:
> D:\scrap_projects\myproject-hg> hg update
> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>
Ok, then the conversion created a branch with another name than the
expected `default` one ; basically `HEAD` I guess.
`hg update tip` will update to the last converted changeset
or
`hg branches` to get the names of the present branches followed by `hg
update branchname` should do what you want.
to prevent any further problem like that you might want to set the main
branch name to `default` using `hg branch default`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080625/24387633/attachment.bin
More information about the Mercurial
mailing list