summaryrefslogtreecommitdiff
path: root/README.HG.markdown
diff options
context:
space:
mode:
authorAaron Stone <aaron@serendipity.cx>2013-07-16 10:39:01 -0700
committerAaron Stone <aaron@serendipity.cx>2013-07-16 10:39:01 -0700
commit827cfaa7715c03589cbfda0fc7fe79239859b216 (patch)
tree71b01c117f7db4a62e122c2ce40487395ac08862 /README.HG.markdown
parent054d16421c782dd76a6990856bb78797abe36750 (diff)
parentc8ac78614dea3b2409f88cf7fb7901cbd78ce23d (diff)
Merge pull request #77 from arnoudj/hg_identity
Add user and ssh identity to the Mercurial provider.
Diffstat (limited to 'README.HG.markdown')
-rw-r--r--README.HG.markdown22
1 files changed, 20 insertions, 2 deletions
diff --git a/README.HG.markdown b/README.HG.markdown
index b1680c8..55ceef4 100644
--- a/README.HG.markdown
+++ b/README.HG.markdown
@@ -27,7 +27,7 @@ For a specific changeset, use `revision`:
vcsrepo { "/path/to/repo":
ensure => present,
provider => hg,
- source => "http://hg.example.com/myrepo"
+ source => "http://hg.example.com/myrepo",
revision => '21ea4598c962'
}
@@ -36,10 +36,28 @@ You can also set `revision` to a tag:
vcsrepo { "/path/to/repo":
ensure => present,
provider => hg,
- source => "http://hg.example.com/myrepo"
+ source => "http://hg.example.com/myrepo",
revision => '1.1.2'
}
+Check out as a user:
+
+ vcsrepo { "/path/to/repo":
+ ensure => present,
+ provider => hg,
+ source => "http://hg.example.com/myrepo",
+ user => 'user'
+ }
+
+Specify an SSH identity key:
+
+ vcsrepo { "/path/to/repo":
+ ensure => present,
+ provider => hg,
+ source => "ssh://hg@hg.example.com/myrepo",
+ identity => "/home/user/.ssh/id_dsa,
+ }
+
For sources that use SSH (eg, `ssh://...`)
------------------------------------------