(#13062) Added clarification that 'revision' can also be used for branches.

This commit is contained in:
Nick Jackson 2012-04-05 14:35:48 +02:00 committed by Ken Barber
parent d97e19ff90
commit 55e1b9af3d

View File

@ -31,7 +31,7 @@ To get the current [master] HEAD:
source => "git://example.com/repo.git"
}
For a specific revision (can be a commit SHA or tag):
For a specific revision or branch (can be a commit SHA, tag or branch name):
vcsrepo { "/path/to/repo":
ensure => present,
@ -47,6 +47,13 @@ For a specific revision (can be a commit SHA or tag):
revision => '1.1.2rc1'
}
vcsrepo { "/path/to/repo":
ensure => present,
provider => git,
source => 'git://example.com/repo.git',
revision => 'development'
}
For sources that use SSH (eg, `username@server:...`)
----------------------------------------------------