I have got a new repository converted from SVN. I want to minimize this repository further by removing unintended files.
For that I am again converting the mercurial repository to a new one by using hg convert and the filemap parameter.
So my filemap looks like this:
include a
rename a .
The command I am using is:
hg convert --filemap fm.txt . ../new_repo
This ends after full conversion as I can see in the console output.
But if I now check the content of the directory new repo, I can see only .hg files in there.
I ran hg update -C within the directory whic gives me one more file .hgtags
Can anyone please suggest what has gone wrong?
In common, you done all correct (if directory
aexist in source repo)In my test for repository with directory lang, which I want to move into the root of new repo, I used filemap
identical to your filemap and got bare repository after converting (no files in Working Dir, only repository on .hg). Testing repository
showed me all related hisory
(without
-C) brings all files into the Working Directory