Taking the plunge...

Stephen Rasku mercurial at srasku.net
Sun Dec 4 00:05:59 UTC 2011


On Sat, Dec 3, 2011 at 15:54, Steve Dyer <Steve.Dyer at homeserve.com> wrote:
>
> Can you only push changes from one repo to another if they were originally
> cloned from one another?

If you specify -f (force) you can push to any two repositories.
Whether that's a good idea or not is another question.  However, if
two repositories have a single changeset in common then it's possible
to push without forcing.  So, 3.0 could be pushed back to 1.1 if the
original clone sequence looked something like this:

    1.1 -> 1.2 -> 1.3 -> 2.0 -> 2.1 -> 3.0

even though 1.1 and 3.0 were not directly cloned from each other.  I
am not sure why you would want too do this, though.  I suppose you
might want to push from 1.1 to 3.0 if you patched 1.1 and wanted to
migrate it forward.

> Also when you talk about the web interface, is that just the standard ui
> with mercurial or are there other/better tools for managing mercurial with?

Yeah, I was talking about the standard Mercurial web interface.  There
may be other tools to run on a Mercurial server but I'm not familiar
with them.  Perhaps someone else can comment?

...Stephen



More information about the Mercurial mailing list