Commits

Augie Fackler  committed fd8c654

Work around url.url moving to util.url in Mercurial.

  • Participants
  • Parent commits 7fa27af

Comments (0)

Files changed (1)

File 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: