changeset 773:aef84769fe27

svnmeta: properly reference self.ui instead of ui
author Augie Fackler <durin42@gmail.com>
date Mon, 29 Nov 2010 23:17:07 -0600
parents f3af4fe98d37
children 144a2f6eb1af
files hgsubversion/svnmeta.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -633,7 +633,7 @@ class SVNMeta(object):
             revnum, branch = self.get_source_rev(ctx=parentctx)[:2]
         ctx = context.memctx(self.repo,
                              (parentctx.node(), node.nullid),
-                             rev.message or util.default_commit_msg(ui),
+                             rev.message or util.default_commit_msg(self.ui),
                              ['.hgtags', ],
                              hgtagsfn,
                              self.authors[rev.author],
@@ -720,7 +720,7 @@ class SVNMeta(object):
         self.mapbranch(extra, True)
         ctx = context.memctx(self.repo,
                              (node, revlog.nullid),
-                             rev.message or util.default_commit_msg(ui),
+                             rev.message or util.default_commit_msg(self.ui),
                              [],
                              lambda x, y, z: None,
                              self.authors[rev.author],