diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-08-12 22:15:23 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-08-12 22:15:23 -0700 |
commit | a4ee585cb17751dca8cf49d9361124e438a39d87 (patch) | |
tree | 7f6d1a9d319e71574fa022094018e88989324fb8 /lib/puppet/provider/vcsrepo | |
parent | 6f7507a2a48ff0a58c7db026760a2eb84e382a77 (diff) | |
parent | ed67ca757a62e6bc121a1e59386f52f8233e49d7 (diff) |
Merge pull request #89 from razorsedge/svn_revision
SVN provider should check for '^Revision:' and not '^Last Changed Rev:'
Diffstat (limited to 'lib/puppet/provider/vcsrepo')
-rw-r--r-- | lib/puppet/provider/vcsrepo/svn.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/vcsrepo/svn.rb b/lib/puppet/provider/vcsrepo/svn.rb index bfc9b76..e0d5b21 100644 --- a/lib/puppet/provider/vcsrepo/svn.rb +++ b/lib/puppet/provider/vcsrepo/svn.rb @@ -66,7 +66,7 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo) def latest args = buildargs.push('info', '-r', 'HEAD') at_path do - svn(*args)[/^Last Changed Rev:\s+(\d+)/m, 1] + svn(*args)[/^Revision:\s+(\d+)/m, 1] end end @@ -80,7 +80,7 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo) def revision args = buildargs.push('info') at_path do - svn(*args)[/^Last Changed Rev:\s+(\d+)/m, 1] + svn(*args)[/^Revision:\s+(\d+)/m, 1] end end |