https://svn.lrde.epita.fr/svn/lrdetools/trunk
Index: ChangeLog from Nicolas Pouillard ertai@lrde.epita.fr
Make default_commit happened just one time.
* vcs/lib/vcs/vcs.rb: Use just_one_time.
vcs.rb | 3 +++ 1 files changed, 3 insertions(+)
Index: vcs/lib/vcs/vcs.rb --- vcs/lib/vcs/vcs.rb (revision 252) +++ vcs/lib/vcs/vcs.rb (working copy) @@ -592,10 +592,13 @@ end
# Set the given method as default commit action, use commit_ for the old one + # This method can be called just one time to avoid conflicts def default_commit ( meth ) + just_one_time do alias_command :commit, meth alias_command :ci, meth end + end
end # class << self