equal
deleted
inserted
replaced
1 # hg.py - repository classes for mercurial |
1 # changelog.py - changelog class for mercurial |
2 # |
2 # |
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms |
5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 import sys, struct, os |
8 import os, time |
9 import util |
|
10 from revlog import * |
9 from revlog import * |
11 from demandload import * |
|
12 demandload(globals(), "time") |
|
13 |
10 |
14 class changelog(revlog): |
11 class changelog(revlog): |
15 def __init__(self, opener): |
12 def __init__(self, opener): |
16 revlog.__init__(self, opener, "00changelog.i", "00changelog.d") |
13 revlog.__init__(self, opener, "00changelog.i", "00changelog.d") |
17 |
14 |