mercurial/localrepo.py
changeset 17207 62c56c94c77e
parent 17205 97eff00046de
child 17208 8018f2340807
equal deleted inserted replaced
17206:70ebb4bd8083 17207:62c56c94c77e
   129         self.ui = baseui.copy()
   129         self.ui = baseui.copy()
   130         # A list of callback to shape the phase if no data were found.
   130         # A list of callback to shape the phase if no data were found.
   131         # Callback are in the form: func(repo, roots) --> processed root.
   131         # Callback are in the form: func(repo, roots) --> processed root.
   132         # This list it to be filled by extension during repo setup
   132         # This list it to be filled by extension during repo setup
   133         self._phasedefaults = []
   133         self._phasedefaults = []
   134 
   134         # hiddenrevs: revs that should be hidden by command and tools
       
   135         #
       
   136         # This set is carried on the repo to ease initialisation and lazy
       
   137         # loading it'll probably move back to changelog for efficienty and
       
   138         # consistency reason
       
   139         self.hiddenrevs = set()
   135         try:
   140         try:
   136             self.ui.readconfig(self.join("hgrc"), self.root)
   141             self.ui.readconfig(self.join("hgrc"), self.root)
   137             extensions.loadall(self.ui)
   142             extensions.loadall(self.ui)
   138         except IOError:
   143         except IOError:
   139             pass
   144             pass