Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/changelog.py @ 1095:0a18374c0769
changelog: adjust imports, comment
author | mpm@selenic.com |
---|---|
date | Sat, 27 Aug 2005 15:05:43 -0700 |
parents | 142b5d5ec9cc |
children | f92af8d53330 |
comparison
equal
deleted
inserted
replaced
1094:221b5252864c | 1095:0a18374c0769 |
---|---|
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 |