Skip to content
Snippets Groups Projects
Commit 0bee97fa1fa8 authored by Matt Mackall's avatar Matt Mackall
Browse files

publishing: add helper method to localrepo

parent 85294076adce
No related branches found
No related tags found
No related merge requests found
......@@ -797,6 +797,9 @@
def local(self):
return self
def publishing(self):
return self.ui.configbool('phases', 'publish', True)
def cancopy(self):
# so statichttprepo's override of local() works
if not self.local():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment