git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Which VCS besides git?

From
BSBruce Stephens <bruce.stephens@isode.com>
Date
Mar 3, 2010, 12:12 UTC
Message-ID
<80fx4hbo4f.fsf@tiny.isode.net>
In-Reply-To
<94a0d4531003030358q276a8e9bue086a8ec06aba395@mail.gmail.com>
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.

> 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).

Show 8 quoted lines
> 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).

(Monotone has changed since I last used it but I think the above is still true. There's been discussion about larger certs (rather than having separate certs for branch, date, author, message, to have just one covering the usual combination) AFAIK that hasn't happened yet.)

Previous: Felipe ContrerasNext: Felipe Contreras
Message 10 of 13 in “Which VCS besides git?”
  1. Kārlis RepsonsMar 2, 2010
  2. Shawn O. PearceMar 2, 2010
  3. Kārlis RepsonsMar 2, 2010
  4. Shawn O. PearceMar 2, 2010
  5. Jakub NarebskiMar 2, 2010
  6. Kārlis RepsonsMar 2, 2010
  7. Ben WaltonMar 2, 2010
  8. Jakub NarebskiMar 3, 2010
  9. Felipe ContrerasMar 3, 2010
  10. Bruce StephensMar 3, 2010
  11. Felipe ContrerasMar 3, 2010
  12. Ben WaltonMar 3, 2010
  13. Miklos VajnaMar 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.