Mercurial > hg-website
changeset 135:8d069bba8cce
learning in workflows: shared server now contains a bit more information for people with existing servers.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Fri, 01 May 2009 14:32:23 +0200 |
parents | 4fc2fc6ddbed |
children | 0364cfc00295 |
files | text/learning_mercurial_in_workflows.txt |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/text/learning_mercurial_in_workflows.txt Fri May 01 14:31:32 2009 +0200 +++ b/text/learning_mercurial_in_workflows.txt Fri May 01 14:32:23 2009 +0200 @@ -282,9 +282,11 @@ But to make use of it, we first need something we can push to. -By default "hg serve" doesn't allow pushing, since that would be a major security hole. You can allow pushing in the server, but that's no solution when you live in different timezones, so we'll go with another approach here: Using a shared repository on BitBucket. Doing so has a bit higher starting cost and takes a bit longer to explain, but it's well worth the effort spent. +By default "hg serve" doesn't allow pushing, since that would be a major security hole. You can allow pushing in the server, but that's no solution when you live in different timezones, so we'll go with another approach here: Using a shared repository, either on an existing shared server or on a service like [BitBucket](http://bitbucket.org). Doing so has a bit higher starting cost and takes a bit longer to explain, but it's well worth the effort spent. -For it you first need to setup a BitBucket Account. Just signup there and then hover your mouse over "Repositories". There click the item at the bottom of the opening dialog which say "Create new". +If you want to use an existing shared server, you can use "serve" there and [allow pushing](). Also there are some other nice ways to allow [pushing to a Mercurial repository](), including simply [pushing via SSH](). + +Otherwise you first need to setup a BitBucket Account. Just signup at [BitBucket](http://bitbucket.org) and then hover your mouse over "Repositories". There click the item at the bottom of the opening dialog which say "Create new". Give it a name and a description, and if you want to keep it hidden from the public, select "private". @@ -300,6 +302,8 @@ VoilĂ , your code is online. +Note: You can also [use SSH for pushing to BitBucket](http://bitbucket.org/help/UsingSSH). + Now it's time to tell all your collegues to sign up at BitBucket, too. After that you can click the "Admin" tab of your created repository and add the names of your collegues on the right side under "Permission: Writers". Now they are allowed to push code to the repository.