Public Mercurial, Git, and Subversion hosting over SSH
Emanuele Aina
em at nerd.ocracy.org
Tue May 13 22:12:14 UTC 2008
Boris Samorodov suggerì:
> > Remark to http://sshcontrol.com/help/help_uploading:
>
> > One can use very simple way to clone Mercurial repo to the remote
> > server like your. Let's say my repo is on my home machine in
> > my_repo directory. Then the following works:
>
> > remote$ hg init my_repo
>
> ... or one can do it from home$ machine:
>
> home$ hg init ssh://remote.machine/my_repo
>
> > and
>
> > home$ cd my_repo
> > home$ hg push ssh://remote.machine/my_repo
>
> > So if you just create empty Mercurial repo on your machine, then the
> > user can push existing repository to it.
It is possible to do it in a single step:
home$ hg clone my_repo ssh://remote.machine/my_repo
> > And it is generally better idea than archive Mercurial repo
> > and unpack it on your server (to clone from it back????)
Or at least accept full bundles generated with 'hg bundle --all
myrepo.hg'.
--
Buongiorno.
Complimenti per l'ottima scelta.
More information about the Mercurial
mailing list