
"Nicolas" == Nicolas Pouillard <ertai@lrde.epita.fr> writes:
Index: ChangeLog from Nicolas Pouillard <ertai@lrde.epita.fr>
* vcs/src/mycommit.rb (lrdetools_commit): Move to ... * misc/ltci.rb: ... here. * vcs/bin/vcs: Search the file to load, to execute the given method.
Index: misc/ltci.rb --- misc/ltci.rb (revision 0) +++ misc/ltci.rb (revision 0) @@ -0,0 +1,16 @@ +class Vcs + + def lrdetools_commit! ( s, *args ) + + rev = common_commit!(*args) + + s = "LT #{rev}: #{s}" + + news(:groups => ['lrde.proj'], :subject => s) + + @@message.delete + + end + alias_command :ltci, :lrdetools_commit + +end # class Vcs
Des commentaires dans le code, et en particulier pour l'introduction du fichier, permettrait sans doute de comprendre à quoi ça sert !