1 # revlog.py - storage back-end for mercurial |
1 # revlog.py - storage back-end for mercurial |
2 # |
|
3 # This provides efficient delta storage with O(1) retrieve and append |
|
4 # and O(changes) merge between branches |
|
5 # |
2 # |
6 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> |
7 # |
4 # |
8 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
9 # GNU General Public License version 2, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
|
7 |
|
8 """Storage back-end for Mercurial. |
|
9 |
|
10 This provides efficient delta storage with O(1) retrieve and append |
|
11 and O(changes) merge between branches. |
|
12 """ |
10 |
13 |
11 # import stuff from node for others to import from revlog |
14 # import stuff from node for others to import from revlog |
12 from node import bin, hex, nullid, nullrev, short #@UnusedImport |
15 from node import bin, hex, nullid, nullrev, short #@UnusedImport |
13 from i18n import _ |
16 from i18n import _ |
14 import changegroup, errno, ancestor, mdiff, parsers |
17 import changegroup, errno, ancestor, mdiff, parsers |