https://svn.lrde.epita.fr/svn/ranch/trunk
Index: ChangeLog
from Nicolas Desprès <nicolas.despres(a)lrde.epita.fr>
Add VCS support.
* vcs: New.
* vcs/ranch.rb: New.
ranch.rb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Index: vcs/ranch.rb
--- vcs/ranch.rb (revision 0)
+++ vcs/ranch.rb (revision 0)
@@ -0,0 +1,18 @@
+# $ Id $
+
+class Vcs
+
+ # See
http://rubyforge.org/projects/vcs
+ # and
http://vcs.rubyforge.org
+
+ protocol_version '0.1'
+
+ def ranch_commit! ( *args )
+ common_commit!("<%= rev %>: <%= title %>", *args) do |subject|
+ mail!(:to => [ 'projects(a)lrde.epita.fr' ], :subject => subject)
+ end
+ end
+ alias_command :ranchci, :ranch_commit
+ default_commit :ranch_commit
+
+end # class Vcs
Property changes on: vcs/ranch.rb
___________________________________________________________________
Name: svn:keywords
+ Id