| Class | Cvs |
| In: |
lib/vcs/diff.rb
lib/vcs/cvs.rb lib/vcs/status.rb |
| Parent: | Vcs |
# File lib/vcs/cvs.rb, line 10 def initialize ( aCmd='cvs' ) super @@cvs_option_controller ||= OptionController.new(Cvs, @@options_specification + Vcs.specific_options.to_a.join("\n")) self.option_controller = @@cvs_option_controller end
A diff only for your eyes
# File lib/vcs/diff.rb, line 48 def diffw! ( files_orig=[], options={} ) files = diffw_base(files_orig, options) return if files.empty? and not files_orig.empty? diff_! files, options.merge(:N => true, :u => true) end