mercurial/hg.py
changeset 667 31a9aa890016
parent 660 2c83350784c3
child 669 8aa2a282eda4
--- a/mercurial/hg.py	Sun Jul 10 16:00:56 2005 -0800
+++ b/mercurial/hg.py	Sun Jul 10 16:01:11 2005 -0800
@@ -764,7 +764,7 @@
                 mf1[f] = util.is_exec(self.wjoin(f), mf1.get(f, False))
                 t = self.wfile(f).read()
             except IOError:
-                self.warn("trouble committing %s!\n" % f)
+                self.ui.warn("trouble committing %s!\n" % f)
                 raise
 
             meta = {}