hg convert: files disappeared: Help

Uwe Brauer oub at mat.ucm.es
Fri Jan 18 18:49:20 UTC 2019


>>> "MH" == Matt Harbison <mharbison72 at gmail.com> writes:

   > 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

But it does say this precisely!!!


   > ... 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.

Thanks!


Ok will do. I recall I add problems when I used relative path, at least
that is what the README file, I wrote back then, says
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20190118/8e83332c/attachment.p7s>


More information about the Mercurial mailing list