topfunky (owner)

Revisions

gist: 148642 Download_button fork
public
Public Clone URL: git://gist.github.com/148642.git
Embed All Files: show embed
Bash #
1
2
3
4
5
6
# Create a remote Mercurial repository and clone locally.
# Mercurial can manage an empty directory, so it can be done simply.
function hg-new {
    ssh user@example.com "hg init $1" && hg clone ssh://user@example.com/$1
}