summaryrefslogtreecommitdiff
path: root/lib/puppet/provider
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r--lib/puppet/provider/vcsrepo/svn.rb4
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