Dean Michael Berris
On Fri, Jan 28, 2011 at 6:34 PM, Anthony Williams
wrote: Dean Michael Berris
writes: 4. How does mercurial deal with forks? In Git a repository is automatically a fork of the source repository. I don't know whether every mercurial repo is the same as a Git repo though -- meaning whether the same repository can be exposed to a number of protocols and dealt with like any other Git repo (push/pull/merge/compact, etc.)
Your local repository can push/pull from any remote repository, and you can set up a default remote repo for "hg push" and "hg pull" without a repository path. I don't know the full set of protocol options; I use local and http access.
Okay, but I think the thing I was asking was whether the same two repositories share the same history information?
Yes. A Mercurial clone is a full copy of the source repo, including all history.
However since hg and git can work with each other, I don't see why using either one would be a big problem as both have a pretty similar model looking at it from the outside.
That's true. I might try out the hg-git extension (http://mercurial.selenic.com/wiki/HgGit) Anthony -- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976