Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/changelog.py @ 1678:b345cc4c22c0
reverting 11d12bd6e1dcd9610fa26e97d25e7ad553e8ffa5
passing local everywhere violate the layering
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 15 Dec 2005 18:04:05 +0100 |
parents | 11d12bd6e1dc |
children |
comparison
equal
deleted
inserted
replaced
1677:11d12bd6e1dc | 1678:b345cc4c22c0 |
---|---|
9 from i18n import gettext as _ | 9 from i18n import gettext as _ |
10 from demandload import demandload | 10 from demandload import demandload |
11 demandload(globals(), "os time util") | 11 demandload(globals(), "os time util") |
12 | 12 |
13 class changelog(revlog): | 13 class changelog(revlog): |
14 def __init__(self, opener, local=True): | 14 def __init__(self, opener): |
15 revlog.__init__(self, opener, "00changelog.i", "00changelog.d", | 15 revlog.__init__(self, opener, "00changelog.i", "00changelog.d") |
16 local=local) | |
17 | 16 |
18 def extract(self, text): | 17 def extract(self, text): |
19 if not text: | 18 if not text: |
20 return (nullid, "", (0, 0), [], "") | 19 return (nullid, "", (0, 0), [], "") |
21 last = text.index("\n\n") | 20 last = text.index("\n\n") |