https://svn.lrde.epita.fr/svn/oln/prototypes/proto-1.0
Index: ChangeLog
from Nicolas Pouillard <ertai(a)lrde.epita.fr>
Update the Vcs extension to Vcs 0.4.
* vcs/oln.rb: Add the protocol version and the default commit.
oln.rb | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Index: vcs/oln.rb
--- vcs/oln.rb (revision 274)
+++ vcs/oln.rb (working copy)
@@ -1,12 +1,17 @@
class Vcs
+ # See
http://rubyforge.org/projects/vcs
+ # and
http://vcs.rubyforge.org
- def oln_commit! ( *args )
+ protocol_version '0.1'
+
+ def olena_commit! ( *args )
common_commit!("proto-1.0 <%= rev %>: <%= title %>", *args) do
|subject|
mail!(:to => ['olena-patches(a)lrde.epita.fr']fr'], :subject => subject)
end
end
- alias_command :olnci, :oln_commit
+ alias_command :olnci, :olena_commit
+ default_commit :olena_commit
end # class Vcs