hg convert: files disappeared: Help

Yuya Nishihara yuya at tcha.org
Mon Jan 14 02:24:06 UTC 2019


On Sun, 13 Jan 2019 10:48:42 +0100, Uwe Brauer wrote:
> I have the following directory structure:
> 
> ToDo/Repo1
> DONE
> 
> Now Repo1 contains a repo. I wanted to move that repo as a subrepo
> to another one.
> 
> So I created a file filemap in the directory Todo
> 
> ToDo/filemap
> 
> filemap looks as follows
> 
> 
> include Repo1/review-123456.tex
> include Repo1/download-submitted.pdf
> include Repo1/123456.pdf
> 
> 
> 
> Then I run 
> 
> hg convert /home/oub/ALLES/MyRepos/ToDo/ /home/oub/ALLES/MyRepos/DONE/Repo1 --filemap filemap
> 
> And obtained 
> 
> initializing destination /home/oub/ALLES/MyRepos/DONE/Repo1 repository
> scanning source...
> sorting...
> converting...
> 13 Add Well Posedness
> 12 3665227 submitted
> 11 Start draft
> 10 add unicode package
> 9 Finish first draft
> 8 grammar
> 7 Add ignore file
> 6 Insert correct system
> 5 Repair divs, definition is not recognised
> 4 First draft
> 3 Final paragraph
> 2 Typos
> 1 Typos
> 0 Submitted
> 
> But when I visit
> /home/oub/ALLES/MyRepos/DONE/Repo1
> 
> hg status and
> hg manifest
> 
> 
> Only return the empty string

Did you update the working copy of the DONE repo to some revision other
than null? The working copy should be empty after conversion.



More information about the Mercurial mailing list