MacHg icon

Adding a Server Repository

External repositories, when "added" to your MacHg documents, are included just as references. Once you have a server reference in your document, you will then be able to push (upload) changes from your computer to that server or pull (download) changes from that server to your computer.

To add a server repository (reference):

  1. Choose Repository > "Add Server Repository...", or right-click in the left sidebar and choose "Add Server Repository..."

  2. In the dialog that appears, enter the URL for the desired server into the field "Server URL". Here are some examples of standard URLs

    • ssh://hg@bitbucket.org/durin42/hgsubversion/

    • http://selenic.com/repo/hello

    • https://user:pass@somehost/somefolder/

  3. In the dialog that appears, enter a short name of your choosing to help you identify the external repository. This short name will be used in the left sidebar and in other places to refer to this external repository.