--- a/mercurial/templater.py Thu May 04 12:25:10 2006 -0700 +++ b/mercurial/templater.py Thu May 04 14:45:57 2006 -0700 @@ -511,5 +511,5 @@ write_header = write - def getvalue(self): - return self.fp.getvalue() + def __getattr__(self, key): + return getattr(self.fp, key)