https://svn.lrde.epita.fr/svn/oln/prototypes/proto-1.0
You need vcs 0.3 to use "svn olnci".
Use "sudo gem update vcs -y --no-rdoc" (remove the -y if gem complains) to install the last version of vcs.
Index: ChangeLog from Nicolas Pouillard ertai@lrde.epita.fr
Update vcs support to 0.3.
* vcs/oln.rb: Update. * vcs/HOWTO, * integre/vcs, * integre/vcs/oln.rb, * olena/vcs, * olena/vcs/oln.rb, * doc/vcs, * doc/vcs/oln.rb, * metalic/vcs, * metalic/vcs/oln.rb: Remove.
doc/vcs/oln.rb | 13 ------------- integre/vcs/oln.rb | 13 ------------- metalic/vcs/oln.rb | 13 ------------- olena/vcs/oln.rb | 13 ------------- vcs/HOWTO | 25 ------------------------- vcs/oln.rb | 7 +++---- 6 files changed, 3 insertions(+), 81 deletions(-)
Index: olena/vcs/oln.rb --- olena/vcs/oln.rb (revision 273) +++ olena/vcs/oln.rb (working copy) @@ -1,13 +0,0 @@ -class Vcs - - def oln_commit! ( s, *args ) - - common_commit!(*args) do |rev| - news!(:groups => ['lrde.olena.patches'], - :subject => "proto-1.0 #{rev}: #{s}") - end - - end - alias_command :olnci, :oln_commit - -end # class Vcs Index: vcs/oln.rb --- vcs/oln.rb (revision 273) +++ vcs/oln.rb (working copy) @@ -1,10 +1,9 @@ class Vcs
- def oln_commit! ( s, *args ) + def oln_commit! ( *args )
- common_commit!(*args) do |rev| - news!(:groups => ['lrde.olena.patches'], - :subject => "proto-1.0 #{rev}: #{s}") + common_commit!("proto-1.0 <%= rev %>: <%= title %>", *args) do |subject| + mail!(:to => ['olena-patches@lrde.epita.fr'], :subject => subject) end
end Index: integre/vcs/oln.rb --- integre/vcs/oln.rb (revision 273) +++ integre/vcs/oln.rb (working copy) @@ -1,13 +0,0 @@ -class Vcs - - def oln_commit! ( s, *args ) - - common_commit!(*args) do |rev| - news!(:groups => ['lrde.olena.patches'], - :subject => "proto-1.0 #{rev}: #{s}") - end - - end - alias_command :olnci, :oln_commit - -end # class Vcs Index: metalic/vcs/oln.rb --- metalic/vcs/oln.rb (revision 273) +++ metalic/vcs/oln.rb (working copy) @@ -1,13 +0,0 @@ -class Vcs - - def oln_commit! ( s, *args ) - - common_commit!(*args) do |rev| - news!(:groups => ['lrde.olena.patches'], - :subject => "proto-1.0 #{rev}: #{s}") - end - - end - alias_command :olnci, :oln_commit - -end # class Vcs Index: doc/vcs/oln.rb --- doc/vcs/oln.rb (revision 273) +++ doc/vcs/oln.rb (working copy) @@ -1,13 +0,0 @@ -class Vcs - - def oln_commit! ( s, *args ) - - common_commit!(*args) do |rev| - news!(:groups => ['lrde.olena.patches'], - :subject => "proto-1.0 #{rev}: #{s}") - end - - end - alias_command :olnci, :oln_commit - -end # class Vcs Index: vcs/HOWTO --- vcs/HOWTO (revision 273) +++ vcs/HOWTO (working copy) @@ -1,25 +0,0 @@ ---- - -Mini Vcs HOWTO: - - Checkout Vcs: - svn co https://svn.lrde.epita.fr/svn/lrdetools/trunk/vcs - - Update your PATH: - export PATH=$PATH:the_path_to_vcs/bin - rehash # with zsh - - Check Vcs: - vcs --help - - Make aliases: - `vcs --mk-alias` - - Check the transparent mode: - svn status! - - Commit in Olena: - svn oln_commit 'Your news subject' - or: - svn olnci 'Your news subject' -