nopushpublish.py
changeset 401 76df267fd76c
parent 400 1e72a3cc2cc3
equal deleted inserted replaced
400:1e72a3cc2cc3 401:76df267fd76c
     1 #
     1 # Extension which prevent changeset to be turn public by push operation
     2 
     2 
     3 from mercurial import extensions, util
     3 from mercurial import extensions, util
     4 from mercurial import discovery
     4 from mercurial import discovery
     5 
     5 
     6 def checkpublish(orig, repo, remote, outgoing, *args):
     6 def checkpublish(orig, repo, remote, outgoing, *args):