##// END OF EJS Templates
ui: add an instance flag to hold --insecure bit...
Gregory Szorc -
r29109:e9ce33c6 default
parent child Browse files
Show More
@@ -107,6 +107,8 b' class ui(object):'
107 self._trustusers = set()
107 self._trustusers = set()
108 self._trustgroups = set()
108 self._trustgroups = set()
109 self.callhooks = True
109 self.callhooks = True
110 # Insecure server connections requested.
111 self.insecureconnections = False
110
112
111 if src:
113 if src:
112 self.fout = src.fout
114 self.fout = src.fout
@@ -120,6 +122,7 b' class ui(object):'
120 self._trustgroups = src._trustgroups.copy()
122 self._trustgroups = src._trustgroups.copy()
121 self.environ = src.environ
123 self.environ = src.environ
122 self.callhooks = src.callhooks
124 self.callhooks = src.callhooks
125 self.insecureconnections = src.insecureconnections
123 self.fixconfig()
126 self.fixconfig()
124 else:
127 else:
125 self.fout = sys.stdout
128 self.fout = sys.stdout
General Comments 0
You need to be logged in to leave comments. Login now