mercurial/ui.py
changeset 31113 268caf97c38f
parent 31108 3f8f53190d6a
child 31114 1613c55ad3d6
equal deleted inserted replaced
31112:7f056fdbe37e 31113:268caf97c38f
   155         self.insecureconnections = False
   155         self.insecureconnections = False
   156         # Blocked time
   156         # Blocked time
   157         self.logblockedtimes = False
   157         self.logblockedtimes = False
   158         # color mode: see mercurial/color.py for possible value
   158         # color mode: see mercurial/color.py for possible value
   159         self._colormode = None
   159         self._colormode = None
       
   160         self._terminfoparams = {}
   160 
   161 
   161         if src:
   162         if src:
   162             self.fout = src.fout
   163             self.fout = src.fout
   163             self.ferr = src.ferr
   164             self.ferr = src.ferr
   164             self.fin = src.fin
   165             self.fin = src.fin
   172             self._trustgroups = src._trustgroups.copy()
   173             self._trustgroups = src._trustgroups.copy()
   173             self.environ = src.environ
   174             self.environ = src.environ
   174             self.callhooks = src.callhooks
   175             self.callhooks = src.callhooks
   175             self.insecureconnections = src.insecureconnections
   176             self.insecureconnections = src.insecureconnections
   176             self._colormode = src._colormode
   177             self._colormode = src._colormode
       
   178             self._terminfoparams = src._terminfoparams.copy()
   177 
   179 
   178             self.fixconfig()
   180             self.fixconfig()
   179 
   181 
   180             self.httppasswordmgrdb = src.httppasswordmgrdb
   182             self.httppasswordmgrdb = src.httppasswordmgrdb
   181             self._blockedtimes = src._blockedtimes
   183             self._blockedtimes = src._blockedtimes