--- a/mercurial/changelog.py Sat Jul 21 10:43:29 2007 +0200
+++ b/mercurial/changelog.py Sat Jul 21 17:37:39 2007 +0200
@@ -42,7 +42,7 @@
def flush(self):
pass
def close(self):
- close(self.fp)
+ self.fp.close()
def seek(self, offset, whence=0):
'''virtual file offset spans real file and data'''
--- a/mercurial/cmdutil.py Sat Jul 21 10:43:29 2007 +0200
+++ b/mercurial/cmdutil.py Sat Jul 21 17:37:39 2007 +0200
@@ -316,7 +316,7 @@
util._fallbackencoding = fallback
fullargs = args
- cmd, func, args, options, cmdoptions = parse(ui, args)
+ cmd, func, args, options, cmdoptions = parse(lui, args)
if options["config"]:
raise util.Abort(_("Option --config may not be abbreviated!"))