12/30/2023 0 Comments Tortoisehg web server executableIf I want to clone a repository, I can use the command (note the -insecure option that say to dont worry about certificate). It shares projects in HTTPS with a self-signed certificate. This means that the working copy will be updated with the latest files and so your webserver can serve these to the world. I have a web server that share mercurial repositories. Thatll pop up a dialog, and you just hit the Start button. hg/hgrc file in the remote repository: it will make Mercurial run hg update after every push into that repository. Right click your repository, TortoiseHG, Web Server menu option. Since you're talking about managing a website, you might want to add that the Orthanc server is a standalone executable, not a software library. Then you can push to the server from your local machine: $ hg push ssh:///path/from/home-dir/to/my-website As Orthanc is lightweight and designed for Web applications and for sharing. Hosting environments such as Bitbucket are locked down so that this is the only command you can execute over SSH - they don't want you to execute arbitrary commands on their servers!Īs for managing a remote repository on your own webserver: You need to login with SSH and create an empty repository on your Unix server: $ hg init my-website That hg serve command is what speaks the Mercurial wire protocol I talk about above. When you use SSH, your Mercurial client will make a SSH tunnel and start hg serve -stdio on the remote host. They're not really sent as "commands", instead Mercurial uses it's own protocol which allows a client to query a remote server for a few things like "do you have this changeset?", "what are the branch heads?", and "please accept this bundle!". No, this is not possible: the only "commands" you can send over SSH (and HTTPS) are hg push and hg pull.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |