开发者

How to serve my local Mercurial repository?

开发者 https://www.devze.com 2022-12-26 18:33 出处:网络
I created a repository with TortoiseH开发者_如何学Pythong. Is it possible to share it with other machines? Or do I need to install another application?Right click your repository, TortoiseHG, Web Serv

I created a repository with TortoiseH开发者_如何学Pythong. Is it possible to share it with other machines? Or do I need to install another application?


Right click your repository, TortoiseHG, Web Server menu option. That'll pop up a dialog, and you just hit the Start button.

Say your start port's 8000. Then on your other machines, right click in the folder where you want the new clone, select TortoiseHG, Clone a Repository. In the Source Path, put "http://originalmachine:8000/" and hit the "clone" button.

Web Server's great for temporary sharing. If you want something more persistent, that doesn't require a task sitting in your task bar, look here for instructions on how to get hgwebdir set up on Windows (but this requires Mercurial, rather than TortoiseHg).


Yep, just share the folder and have the other machines push/pull.

You can also right-click your repo and choose "Web server" under the TortoiseHG menu. This serves the repo over TCP/IP.

0

精彩评论

暂无评论...
验证码 换一张
取 消