|
![](/i/fill.gif) |
On 4/20/2011 8:38, Darren New wrote:
> On 4/20/2011 3:08, Invisible wrote:
>> One thing which apparently can't be done with Darcs, Git or Mercurial is
>> managing multiple repositories at once.
>
> git can do this in a sorta half-assed way. Mercurial apparently can too.
Wrong button. :-)
http://ssteiner.wordpress.com/2008/12/30/git-subprojects/
The fundamental problem is that all the DVCS systems tend to use crypto
hashes to identify things. So in git, for example, when you create a
sub-project, the parent project records where the repository is and what
commit to check out. If you change the sub-project, the old commit is still
there; you have just added to it. So the parent project is still going to
get the old version of the subproject until you tell the parent project
"hey, go update your pointer to the sub project to be commit 01A73F9E."
--
Darren New, San Diego CA, USA (PST)
"Coding without comments is like
driving without turn signals."
Post a reply to this message
|
![](/i/fill.gif) |