NameError: global name 'ui' is not defined

Issue #232 resolved
Spuddy created an issue

Got a stracktrace like the following {{{ File "/opt/hgsubversion/hgsubversion/svnrepo.py", line 63, in pull return wrappers.pull(self, remote, heads, force) File "/opt/hgsubversion/hgsubversion/wrappers.py", line 325, in pull meta.delbranch(branch, parent, r) File "/opt/hgsubversion/hgsubversion/svnmeta.py", line 723, in delbranch rev.message or util.default_commit_msg(ui), NameError: global name 'ui' is not defined

}}}

The problem is that afaict 769 of svnmeta.py should be "self.ui" not "ui".

Comments (1)

  1. Log in to comment