Hg on Nightingale

Table of contents
No headers

ssh to nightingale.songbirdnest.com, port 9095, or just put the following in your ~/.ssh/config:

Host nightingale
	Hostname nightingale.songbirdnest.com
	User stevel
	Port 9095
	IdentityFile /Users/stevel/.ssh/id_dsa

Mercurial repos are in /export/hg

To create a new repo:

cd /export/hg
hg init foo
echo "foo = foo" >> hgweb.config

You should then be able to clone it to your local machine:

hg clone ssh://nightingale//export/hg/foo

To clone over HTTP:

hg clone http://nightingale.songbirdnest.com/your-repo-name

In order to push - you need to add a 'default-push' entry to the .hg/hgrc of your cloned local repo:

[paths]
default = http://nightingale.songbirdnest.com/your-repo-name
default-push = ssh://nightingale//export/hg/your-repo-path

To setup display options, update the /export/hg/your-repo-name/.hg/hgrc and add this
[web]
contact = Your name here
description = My repo description here. 
Tag page
You must login to post a comment.