mercurial/localrepo.py
changeset 5158 d316124ebbea
parent 5142 2ffe3e2a1ac2
child 5175 012dbf88b9b2
equal deleted inserted replaced
5157:f6c520fd70cf 5158:d316124ebbea
    67             self.spath = os.path.join(self.path, "store")
    67             self.spath = os.path.join(self.path, "store")
    68         else:
    68         else:
    69             self.encodefn = lambda x: x
    69             self.encodefn = lambda x: x
    70             self.decodefn = lambda x: x
    70             self.decodefn = lambda x: x
    71             self.spath = self.path
    71             self.spath = self.path
    72         self.sopener = util.encodedopener(util.opener(self.spath), self.encodefn)
    72         self.sopener = util.encodedopener(util.opener(self.spath),
       
    73                                           self.encodefn)
    73 
    74 
    74         self.ui = ui.ui(parentui=parentui)
    75         self.ui = ui.ui(parentui=parentui)
    75         try:
    76         try:
    76             self.ui.readconfig(self.join("hgrc"), self.root)
    77             self.ui.readconfig(self.join("hgrc"), self.root)
    77             extensions.loadall(self.ui)
    78             extensions.loadall(self.ui)