git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Bruce Stephens <bruce.stephens@isode.com>
Cc: "Jakub Narebski" <jnareb@gmail.com>,
	"Kārlis Repsons" <karlis.repsons@gmail.com>,
	git <git@vger.kernel.org>
Subject: Re: Which VCS besides git?
Date: Wed, 3 Mar 2010 14:31:05 +0200	[thread overview]
Message-ID: <94a0d4531003030431t3ce62d0g9b8458fe5a8a54ef@mail.gmail.com> (raw)
In-Reply-To: <80fx4hbo4f.fsf@tiny.isode.net>

On Wed, Mar 3, 2010 at 2:12 PM, Bruce Stephens <bruce.stephens@isode.com> wrote:
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
> [...]
>
>> That's not exactly correct. Monotone works very differently; a
>> revision doesn't include the ancestry, that's handled in a separate
>> structure, so the revision hash doesn't tell you anything about the
>> ancestry.
>
> Not so.  Long ago that was the case (ancestry was via certs), but that's
> not been the case for a long time.  There are (in retrospect) obvious
> advantages in including the ancestry in the hash.

Ah, I looked quickly ad one db and still saw 'revision_ancestry' being
used. I guess they decided to keep the information redundant.

>> In fact, a revision doesn't contain anything, the data is handled by
>> "certs", and certs can be added later.
>
> Revisions lack date, author, branch, commit message, but include
> ancestry and the actual changes (which files/directories have changed
> and how).
>
>> For example, it's possible to clone a repository and then add a second
>> commit message to a bunch of revisions. The revision hash doesn't
>> change. Instead, they ensure security by signing every piece of data
>> about a commit (commit date, author, commit message). So it's possible
>> to have multiple commit dates, authors, messages, etc. each signed by
>> a different person.
>>
>> I'm not really fond of this approach :P
>
> It has the nice feature that many people can create merges, and if they
> create exactly the same merge (from exactly the same parents) then only
> one revision results (just with multiple certs decorating it).

Yeah, I'm aware of the reasoning, but IMO it's too much complexity for
almost no gain. It's much easier to just 'git fetch' and synchronize
the changes.

Anyway, good to know they updated the ancestry handling :)

-- 
Felipe Contreras

  reply	other threads:[~2010-03-03 12:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 14:55 Which VCS besides git? Kārlis Repsons
2010-03-02 15:28 ` Shawn O. Pearce
2010-03-02 15:38   ` Kārlis Repsons
2010-03-02 15:41     ` Shawn O. Pearce
2010-03-02 16:12 ` Jakub Narebski
2010-03-02 16:22   ` Kārlis Repsons
2010-03-02 16:38     ` Ben Walton
2010-03-03  1:41     ` Jakub Narebski
2010-03-03 11:58       ` Felipe Contreras
2010-03-03 12:12         ` Bruce Stephens
2010-03-03 12:31           ` Felipe Contreras [this message]
2010-03-03 12:48         ` Ben Walton
2010-03-03 12:49   ` Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a0d4531003030431t3ce62d0g9b8458fe5a8a54ef@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=bruce.stephens@isode.com \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    --cc=karlis.repsons@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).