Menu

nostromo_https_access Log in to Edit

Merten

This is a short tutorial on how to set up hg repositories on our internal hg service.

Setting up the repository

Their are to possibilities to create a new repository on nostromo.

  1. Copying the repository to nostormo.
  2. Creating a new repository on nostromo with hg init

The first method cause more version problems.

All repositories go into /var/hg/research/VMS/

Setting up https access

Go to your newly created repository and open the .hg/hgrc file. This file is normally empty. If you copied an old repository this will probably contain the old remote repository within the [path] section.

To set up read/write access for the three of us add a new [web] section at the end:

[web]
description = SET_DESCRIPTION_HERE
contact = -
allow_push = msach kshalle nengel
deny_push = *           # NB: deny_push overwrites allow_push
deny_read =
allow_read = *
hidden = False

** There is also an example file in /var/hg/research/VMS **

Accessing the repository

The repository is now accessible via:

hg clone https://user@nostromo.aes.cs.tu-berlin.de/hg/research/VMS/path/to/repo

You can also add the path to your local hgrc's [path] section.


Related

Wiki: Home

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB