[email protected] writes:

> I somehow managed to create a project  where one of the subfolders has its 
> own .hg subrepo.
> Is there a way to reorganize so that it becomes part of the main repo

Copy it out of the main project, reorganize it so all its files are in
the correct subfolder (see convert filemap¹), then delete the subrepo in
the main repo and pull --force + merge the converted repo into the main
repo.

¹: https://www.mercurial-scm.org/wiki/ConvertExtension#A--filemap

Do take a backup before you start
(i.e. via cp -rp main-project main-project-backup-2017-03).

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Mercurial mailing list
[email protected]
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to