rebase: take locks in the right order
repo.lock was taken before repo.wlock - that could in principle cause a deadlock.
keyword: update filectx.cmp monkeypatch to handle '\1\n' at start of file
Analogous to
012b285cf643.
bugzilla: make XMLRPC interface support http and https access
Inadvertently support is currently only for https. For some reason I
thought xmlrpclib.SafeTransport did http and https, but it is https only.
So create http and https XMLRPC transports that retain cookies. Decide which
to use by inspecting the Bugzilla URL.