diff options
Diffstat (limited to 'lib')
-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 5590a71..6ec4612 100644 --- a/lib/puppet/provider/vcsrepo/svn.rb +++ b/lib/puppet/provider/vcsrepo/svn.rb @@ -55,14 +55,14 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo) def latest args = buildargs.push('info', '-r', 'HEAD') at_path do - svn(*args)[/^Revision:\s+(\d+)/m, 1] + svn(*args)[/^Last Changed Rev:\s+(\d+)/m, 1] end end def revision args = buildargs.push('info') at_path do - svn(*args)[/^Revision:\s+(\d+)/m, 1] + svn(*args)[/^Last Changed Rev:\s+(\d+)/m, 1] end end |