1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #2552 open

Question: compare branch from different repos

Giovanni Gherdovich
created an issue

Hello dear tortoisehg team,

I write you here since I don't know any other way to reach you (mailing list? IRC channel?).

There is a feature that I would really love to see in TortoiseHG, which is: inspecting the relationship between multiple repositories. Basically, if repo1 and repo2 have some common history, I would like to open them at once in TortoiseHG, and see the two repos in a single DAG.

Basically, the result would be pretty much like if I pulled, say, repo1 from repo2, and then opened repo2 in TortoiseHG.

I proposed this to the mercurial folks as a Google Summer of Code "idea", and I have been told that this is interesting: http://mercurial.selenic.com/wiki/SummerOfCode/Ideas2013#integrate_in_TortoiseHg_tools_to_compare_branches_from_different_repos

I am willing to spend some time on this; I'd really love to hear from you what you think, and if you have some design sketch about how this can be implemented.


Comments (3)

  1. Yuya Nishihara

    It'll be useful (but there'll be many things to do.)

    Probably the starting point is thgrepo.repository() function. It has the code for the incoming preview, which is similar to the unionrepo.


    FWIW, I'm trying to clean up the repository wrapper APIs, which may include the redesign of thgrepo.repository() function.


    Please join thg-dev@googlegroups.com for further discussion.

  2. Yuya Nishihara

    repoagent: add method to apply temporary bundle or union overlay

    It will replace setRepo(bundlerepo) of incoming preview. Eventually it can also be used for comparison between repositories. (refs #2552)

    Still it lacks handling of -R command option.

    → <<cset 9b2feda79fd3>>

  3. Log in to comment