How to treat subrepo as normal files?

Weijun Wang weijun.wang at oracle.com
Thu May 26 05:17:36 UTC 2011


Hi All

I use Mercurial to create a backup system: A cron job "rsync -aL" my 
working directory to a repo on another disk and do a "hg commit -A" 
there. Now the problem is that there are some Mercurial repos in my 
working directory and in the backup repo they are treated as subrepos so 
files inside are not managed by the top backup repo.

I'd like to simply treat them as normally files, so that the backup repo 
becomes a single node for all history. Is there an option I can add into 
.hgrc?

Thanks
Max



More information about the Mercurial mailing list