[Ruby] [patch] Make Hoe ignore Bazaar VCS metadata directories
John Whitley
whitley at bangpath.org
Sun Mar 18 09:07:34 PST 2007
This patch causes Hoe check_manifest to ignore Bazaar version control
[1] metadata dirs (.bzr), as it currently does for SVN and CVS dirs.
-- John
[1] http://www.bazaar-vcs.org/
--- /usr/local/lib/ruby/gems/1.8/gems/hoe-1.2.0/lib/hoe copy.rb
2007-02-24 20:56:19.000000000 -0800
+++ /usr/local/lib/ruby/gems/1.8/gems/hoe-1.2.0/lib/hoe.rb 2007-03-18
09:58:33.000000000 -0700
@@ -454,7 +454,7 @@
files = []
Find.find '.' do |path|
next unless File.file? path
- next if path =~ /\.svn|tmp$|CVS/
+ next if path =~ /\.bzr|\.svn|tmp$|CVS/
files << path[2..-1]
end
files = files.sort.join "\n"
More information about the Ruby
mailing list