mercurial/localrepo.py
changeset 25623 0bee97fa1fa8
parent 25290 8f88f768e24c
child 25624 f0745da75056
equal deleted inserted replaced
25622:85294076adce 25623:0bee97fa1fa8
   795         return result
   795         return result
   796 
   796 
   797     def local(self):
   797     def local(self):
   798         return self
   798         return self
   799 
   799 
       
   800     def publishing(self):
       
   801         return self.ui.configbool('phases', 'publish', True)
       
   802 
   800     def cancopy(self):
   803     def cancopy(self):
   801         # so statichttprepo's override of local() works
   804         # so statichttprepo's override of local() works
   802         if not self.local():
   805         if not self.local():
   803             return False
   806             return False
   804         if not self.ui.configbool('phases', 'publish', True):
   807         if not self.ui.configbool('phases', 'publish', True):