packaging: mark as version 6.3.1.dev
This reduce confusion when installing version from source.
# Extension which prevent changeset to be turn public by push operation## Copyright 2011 Logilab SA <contact@logilab.fr>## This software may be used and distributed according to the terms of the# GNU General Public License version 2 or any later version.frommercurialimportextensions,utilfrommercurialimportdiscoverydefcheckpublish(orig,repo,remote,outgoing,*args):# is remote publishing?publish=Trueif'phases'inremote.listkeys('namespaces'):remotephases=remote.listkeys('phases')publish=remotephases.get('publishing',False)npublish=0ifpublish:forrevinoutgoing.missing:ifrepo[rev].phase():npublish+=1ifnpublish:repo.ui.warn("Push would publish %s changesets"%npublish)ret=orig(repo,remote,outgoing,*args)ifnpublish:raiseutil.Abort("Publishing push forbidden",hint="Use `hg phase -p <rev>` to manually publish them")returnretdefuisetup(ui):extensions.wrapfunction(discovery,'checkheads',checkpublish)