hg convert: files disappeared: Help

Matt Harbison mharbison72 at gmail.com
Fri Jan 18 03:44:43 UTC 2019


On Thu, 17 Jan 2019 08:35:20 -0500, Uwe Brauer <oub at mat.ucm.es> wrote:

>
>    > On Sun, 13 Jan 2019 10:48:42 +0100, Uwe Brauer wrote:
>
>    > Did you update the working copy of the DONE repo to some revision  
> other
>    > than null? The working copy should be empty after conversion.
>
> I did, but I think somehow the source repo is/was corrupt.

What does `hg verify` say when run on the source?  The destination?

What does `hg -R /path/to/dest/repo log -r tip` say?  If it doesn't say  
this:

changeset:   -1:000000000000
user:
date:        Thu Jan 01 00:00:00 1970 +0000

... then there's data in the destination.

The other possibility is that the filemap is wrong.  The include directive  
will only include files you ask for, and throws everything else away.  If  
the new commit would be empty after doing that, it throws the commit  
away.  I'm a little fuzzy on what you wrote- "Now Repo1 contains a repo".   
If that's the case, I don't think you should have "Repo1" in the filemap-  
try it with paths relative to the root of the repository.



More information about the Mercurial mailing list