How to combine a number of small repositories into one?
Tom Hindle
tom_hindle at sil.org
Fri Dec 11 17:21:48 UTC 2020
https://stackoverflow.com/a/10450591/361714
On Fri, Dec 11, 2020 at 10:17 AM Chris Green <cl at isbd.net> wrote:
> I have a number of very small mercurial repositories living in various
> subdirectories of a single parent directory (most are two levels down).
>
> How can I merge all of them into a single mercurial repository while
> keeping all the history etc.?
>
> The repositories to be merged are:-
> /home/chris/dev/dokuwiki/plugins/textalign/.hg
> /home/chris/dev/dokuwiki/plugins/xv/.hg
> /home/chris/dev/dokuwiki/plugins/blog/.hg
> /home/chris/dev/dokuwiki/plugins/dbrd/.hg
> /home/chris/dev/dokuwiki/plugins/rst/.hg
> /home/chris/dev/dokuwiki/plugins/showmail/.hg
> /home/chris/dev/dokuwiki/plugins/db2.wkg/.hg
> /home/chris/dev/dokuwiki/plugins/servlog/.hg
> /home/chris/dev/dokuwiki/plugins/tagentry/.hg
> /home/chris/dev/dokuwiki/plugins/indexmenu/.hg
> /home/chris/dev/dokuwiki/plugins/trip/.hg
> /home/chris/dev/dokuwiki/plugins/include/.hg
> /home/chris/dev/dokuwiki/plugins/database2/.hg
> /home/chris/dev/dokuwiki/plugins/rsthdr/.hg
> /home/chris/dev/dokuwiki/tpl/roundbox/.hg
>
> I want them to be combined in one repository at /home/chris/dev/dokuwiki.
>
> These are all local files, nothing remote, I'm running mercurial
> version 5.3.1 on xubuntu.
>
> --
> Chris Green
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20201211/d9b38e62/attachment-0002.html>
More information about the Mercurial
mailing list