mercurial - Hg Repo with Git and Hg Remotes -
i taking class has read-only git repository. want clone hg repo. however, since can't push repo, want push repo in bitbucket local changes, still pull down changes git repo. know can clone git repo hg-git, want hg except read-only git remote class. thanks!
just have 2 paths defined in project's .hgrc
git's path appear automatically, when you'll clone repo. hg's url have add hand
with up-to-date mercurial can have 2 different configs (and resulting commands)
default = git+url/of/git hg = url/of/hg
means using hg pull
+ hg push hg
default = git+url/of/git default:pushurl = url/of/hg
means using plain hg pull
+ hg push
, push happen anyway mercurial-repo