开发者

Mercurial repository internal format

Docs regarding repository format over at Mercurial site are scattered all over and refer to various legacy versions as well as current one and all in all aren't very detailed IMO.

Is there any comprehensive and up-to-date description of Mercurial repository format?

开发者_Go百科

One Year Later

HgSharp: 100% binary-compatible Mercurial Core implemented in C#.


The design of Mercurial is described in The Architecture of Open Source Applications - Chapter 12. Mercurial.


The Design page at least references the relevant wiki pages.
It is indeed scattered, but it is listed in that page.

   .--------linkrev-------------.
   v                            |
.---------.    .--------.    .--------.
|changeset| .->|manifest| .->|file    |---.
|index    | |  |index   | |  |index   |   |--.
`---------' |  `--------' |  `--------'   |  |
    |       |      |      |     | `-------'  |
    V       |      V      |     V    `-------'
.---------. |  .--------. |  .---------.
|changeset|-'  |manifest|-'  |file     |
|data     |    |data    |    |revision |
`---------'    `--------'    `---------'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜