Changeset 820c55de6ff5…
Parent 697fd2f42a54…
by
Changes to one file · Browse files at 820c55de6ff5 Showing diff from parent 697fd2f42a54 Diff from another changeset...
@@ -30,16 +30,10 @@ from mercurial.hg import localpath
try:
# hg >= 1.9
- from mercurial.util import hidepassword
+ from mercurial.util import hidepassword, removeauth
except ImportError:
# hg <= 1.8
- from mercurial.url import hidepassword
-try:
- # hg >= 1.9
- from mercurial.util import removeauth
-except ImportError:
- # hg <= 1.8
- from mercurial.url import removeauth
+ from mercurial.url import hidepassword, removeauth
demandimport.enable()
_encoding = encoding.encoding
|
Loading...