diff options
author | James Turnbull <james@lovedthanlost.net> | 2011-08-29 01:15:51 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2011-08-29 01:15:51 -0700 |
commit | 4a89ed4d3b8348a53e2f27429b59a28c81b29fd3 (patch) | |
tree | 9fe7d7a38b9c0547ab5460e6ac01ccb2b3fb5f4f /lib/puppet/provider/vcsrepo/hg.rb | |
parent | 18d4cf890c01e756c05cdf4e40972a4b0b229d66 (diff) |
Fixed Bug #9219 - vcsrepo updates too often
If vcsrepo is used with ensure => latest to keep something from a larger repository checked out it will trigger an update every time something changes anywhere in the repository, not just in the part that’s actually checked out.
In combination with a busy development team and a vcsrepo resource with notify => Service[foo] this means frequent restarts of a service for no good reason.
The attached patch solves the issue by looking at the “Last Changed Rev” line from svn info instead of “Revision”.
Patch thanks to: Knut Arne Bjørndal
Diffstat (limited to 'lib/puppet/provider/vcsrepo/hg.rb')
0 files changed, 0 insertions, 0 deletions