##// END OF EJS Templates
branching: merge with stable
Martin von Zweigbergk -
r46728:d6afa9c1 merge default
parent child Browse files
Show More
@@ -795,7 +795,9 b' class bzxmlrpc(bzaccess):'
795 self.fixstatus = self.ui.config(b'bugzilla', b'fixstatus')
795 self.fixstatus = self.ui.config(b'bugzilla', b'fixstatus')
796 self.fixresolution = self.ui.config(b'bugzilla', b'fixresolution')
796 self.fixresolution = self.ui.config(b'bugzilla', b'fixresolution')
797
797
798 self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
798 self.bzproxy = xmlrpclib.ServerProxy(
799 pycompat.strurl(bzweb), self.transport(bzweb)
800 )
799 ver = self.bzproxy.Bugzilla.version()[b'version'].split(b'.')
801 ver = self.bzproxy.Bugzilla.version()[b'version'].split(b'.')
800 self.bzvermajor = int(ver[0])
802 self.bzvermajor = int(ver[0])
801 self.bzverminor = int(ver[1])
803 self.bzverminor = int(ver[1])
@@ -1247,4 +1249,4 b' def hook(ui, repo, hooktype, node=None, '
1247 bz.update(bug, bugs[bug], ctx)
1249 bz.update(bug, bugs[bug], ctx)
1248 bz.notify(bugs, stringutil.email(ctx.user()))
1250 bz.notify(bugs, stringutil.email(ctx.user()))
1249 except Exception as e:
1251 except Exception as e:
1250 raise error.Abort(_(b'Bugzilla error: %s') % e)
1252 raise error.Abort(_(b'Bugzilla error: %s') % stringutil.forcebytestr(e))
@@ -3850,9 +3850,7 b' def debugtemplate(ui, repo, tmpl, **opts'
3850 def debuguigetpass(ui, prompt=b''):
3850 def debuguigetpass(ui, prompt=b''):
3851 """show prompt to type password"""
3851 """show prompt to type password"""
3852 r = ui.getpass(prompt)
3852 r = ui.getpass(prompt)
3853 if r is not None:
3853 if r is None:
3854 r = encoding.strtolocal(r)
3855 else:
3856 r = b"<default response>"
3854 r = b"<default response>"
3857 ui.writenoi18n(b'response: %s\n' % r)
3855 ui.writenoi18n(b'response: %s\n' % r)
3858
3856
General Comments 0
You need to be logged in to leave comments. Login now