On Tue, May 30, 2017 at 2:09 AM, The Tick <the.t...@gmx.com> wrote:

> Probably a quick question: is it possible to merge one repository into
> another and retain all the commit messages? There are no common files. It
> would be really great if I could specify the root within repository #1 at
> which to merge repository #2
>
> From what I've googled, I think the answer is "no".
>

Google is correct.

However, there is _hypothetically_ a way to completely merge 2 repos into
one while keeping all commits, but i'm not at all certain if this would
work...

a) 'fossil deconstruct' 2 repos.
b) copy (recursively) the "deconstructed" files from repo 2 over the ones
from repo 2.
c) 'fossil reconstruct' from that shared set of files.
d) i don't think that 'fossil rebuild' is necessary after reconstruct, but
it can't hurt.

No idea if it would _really_ work, but if it does then (best case) you'll
end up with two completely independent trunks which no common ancestor.
Worst case, it simply doesn't work. (However, i _think_ it will.)

If you try it, be sure to share your results with us.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to