mercurial - push a named branch to limited people only -
i , guy needs share named branch not supposed seen/pulled third party until ready. there way push branch between us? thanks
there no easy built-in way can share changesets , still not accidentally push them central server.
what would clone repository separate place , use synchronization point.
let's you're using bitbucket, , want work on changes before making them available public. clone repository private repository, giving both access, , push , pull central repository hearts content. @ point you're ready, , push public central repository , delete private one.
you set local clones can push , pull between you, not push central repository.
here clone repository on local machines, , change .hg\hgrc file point friends repo, can both pull , push each other. @ point use hg push url-to-central-repo push central repo , share changesets.
there use of phase system use, in case add hassle i'm not sure like. flag changesets secret, prohibit them being pushed. however, in order push changesets friend, have temporarily change phase, push, , change back. use batch file stack overflow question out: push secret changesets.
i recommend go central private repository. easier set up, doesn't involve having push , pull between computers potentially behind firewalls , routers, , gives power you're used normal central repository.
Comments
Post a Comment