Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

hglib: combine removeauth import detection with hidepassword

Changeset 820c55de6ff5

Parent 697fd2f42a54

by Adrian Buehlmann

Changes to one file · Browse files at 820c55de6ff5 Showing diff from parent 697fd2f42a54 Diff from another changeset...

 
30
31
32
33
 
34
35
36
37
38
39
40
41
42
 
43
44
45
 
30
31
32
 
33
34
35
 
 
 
 
 
 
 
36
37
38
39
@@ -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