ui.py: remove revlogopts and (unused) diffcache variables
This should make the [revlog] section in a .hg/hgrc file be respected
when there's still no changelog.
--- a/mercurial/localrepo.py Tue Oct 10 18:43:20 2006 -0300
+++ b/mercurial/localrepo.py Tue Oct 10 18:43:20 2006 -0300
@@ -54,7 +54,7 @@
except IOError:
pass
- v = self.ui.revlogopts
+ v = self.ui.configrevlog()
self.revlogversion = int(v.get('format', revlog.REVLOG_DEFAULT_FORMAT))
self.revlogv1 = self.revlogversion != revlog.REVLOGV0
fl = v.get('flags', None)
--- a/mercurial/ui.py Tue Oct 10 18:43:20 2006 -0300
+++ b/mercurial/ui.py Tue Oct 10 18:43:20 2006 -0300
@@ -30,8 +30,6 @@
self.traceback = traceback
self.updateopts(verbose, debug, quiet, interactive)
- self.diffcache = None
- self.revlogopts = self.configrevlog()
else:
# parentui may point to an ui object which is already a child
self.parentui = parentui.parentui or parentui