3 ms·
Isn't Mercurial different only in nomenclature? The manifest id stored in a changeset is a tree snapshot. Otherwise I don't think hg-git would work as transpare
by mkj 6y ago
Isn't Mercurial different only in nomenclature? The manifest id stored in a changeset is a tree snapshot.
Otherwise I don't think hg-git would work as transparently as it usually does.
https://www.mercurial-scm.org/wiki/ChangeSet https://www.mercurial-scm.org/wiki/ChangeSet
- brodie 6y agoThey’re different in the their implementations of how repositories are stored on disk. Other than that, you’re right in that the two systems have a gigantic (almost one to one) abstract/conceptual overlap.
- espadrine 6y agoThey did add it; I think it wasn’t there in v0.1[0]. Nowadays, the revlog contains a sequence of either snapshots or deltas[1], a bit like video codecs I-frame and P-frame, except the heuristic is how much data must be read to check out the file; so most are likely deltas. [0]: https://lore.kernel.org/lkml/42692470.9050605@tmr.com/T/ https://lore.kernel.org/lkml/42692470.9050605@tmr.com/T/ [1]: http://hgbook.red-bean.com/read/behind-the-scenes.html http://hgbook.red-bean.com/read/behind-the-scenes.html