Source

hg-remotebranches / hg_remotebranches.py

Diff from to

hg_remotebranches.py

                             try:
                                 uri = url.url(uri).authinfo()[0]
                             except AttributeError:
-                                uri = url.getauthinfo(uri)[0]
+                                try:
+                                    uri = util.url(uri).authinfo()[0]
+                                except AttributeError:
+                                    uri = url.getauthinfo(uri)[0]
                     uri = uri.rstrip('/')
                     rpath = rpath.rstrip('/')
                     if uri == rpath: