Making the world safer for idiots like me [was Re: Add a cgi script that support multiple repositories]

Matt Mackall mpm at selenic.com
Tue Jun 28 19:25:52 UTC 2005


On Tue, Jun 28, 2005 at 09:23:42PM +0200, Radoslaw Szkodzinski wrote:
> Matt Mackall wrote:
> >On Tue, Jun 28, 2005 at 09:07:30PM +0200, Radoslaw Szkodzinski wrote:
> >
> >>Matt Mackall wrote:
> >>
> >>>The question is: does it really ever make sense to merge unrelated
> >>>projects? The answer is probably no.
> >>>
> >>
> >>The answer is: Linus did it with git and gitk.
> >>These projects have nothing in common wrt history.
> >
> >
> >Ahh, fair enough. How about I just make this a warning? The user can
> >then hit ctrl-c or run hg undo. The -u flag won't take effect because
> >an update -m will be needed.
> >
> It would be a happy day if one could make commits only against one head of 
> the tree (in the above case repo has two heads). Is it already possible?

Yes. If you checkout any revision X, the commit becomes a child of X.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list