https://svn.lrde.epita.fr/svn/lrdetools/trunk
Index: ChangeLog
from Nicolas Pouillard <ertai(a)lrde.epita.fr>
Fix the CVS wrapper.
* vcs/lib/vcs/cvs.rb: Add an empty option controller.
* vcs/lib/vcs/vcs.rb: Fix a bug with status and files with properties
changed.
cvs.rb | 6 ++++++
vcs.rb | 1 +
2 files changed, 7 insertions(+)
Index: vcs/lib/vcs/vcs.rb
--- vcs/lib/vcs/vcs.rb (revision 269)
+++ vcs/lib/vcs/vcs.rb (working copy)
@@ -71,6 +71,7 @@
?? => :unrecognize,
?! => :missing,
?~ => :obstruct,
+ ' '[0] => :normal,
}
@@categories ||= @@user_defined_categories + @@symbol_category.values
Index: vcs/lib/vcs/cvs.rb
--- vcs/lib/vcs/cvs.rb (revision 269)
+++ vcs/lib/vcs/cvs.rb (working copy)
@@ -9,10 +9,16 @@
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
%w[ rdiff rtag tag ].each do |m|
add_basic_method(m)
end
+ @@options_specification ||= ""
+
end # class Cvs