PRT.DevelopCreateRepository History

Hide minor edits - Show changes to output - Cancel

September 01, 2012, at 02:31 AM by 24.130.186.152 -
Changed lines 28-30 from:
Go to [[http://hg.opensourceresearchinstitute.org]] then click on the repo

Open a shell,
copy the URL, and paste it into:
to:
Go to [[http://hg.opensourceresearchinstitute.org]] then click on the repo and copy the URL to clipboard

Open a shell and paste the URL
into:
June 23, 2012, at 02:23 AM by 24.130.186.152 -
Changed line 13 from:
To set up read/write access, add (or modify) the \[web\] section:
to:
To set up read/write access, add (or modify) the [web] section:
June 23, 2012, at 02:22 AM by 24.130.186.152 -
Added lines 1-35:
!!This is a short tutorial on how to set up hg repositories on OSRI's server.

!!!Setting up the repository

All VMS mercurial repositories go into hg/VMS/

At the moment, Sean is keeping creation centralized.. send him an email to talk over options..

!!!Setting up https access

Go to your newly created repository and open the .hg/hgrc file. This file is normally empty.

To set up read/write access, add (or modify) the \[web\] section:

[web]
description = SET_DESCRIPTION_HERE
contact = -
allow_push = msach kshalle nengel
deny_push = * # NB: all denied except explicit allows
deny_read =
allow_read = *
hidden = False

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

!!!Accessing the repository

Go to [[http://hg.opensourceresearchinstitute.org]] then click on the repo

Open a shell, copy the URL, and paste it into:

hg clone <paste repo URL here>

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