https://svn.lrde.epita.fr/svn/lrdetools/trunk
Index: ChangeLog
from Nicolas Pouillard <ertai(a)lrde.epita.fr>
Rename ,messages to +commited.
* vcs/lib/vcs/common_commit.rb: Update.
* vcs/NEWS: Add an entry for this change.
* vcs/lib/vcs/vcs.rb: Match the complete path *or* the basename.
NEWS | 3 +++
lib/vcs/common_commit.rb | 2 +-
lib/vcs/vcs.rb | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
Index: vcs/lib/vcs/common_commit.rb
--- vcs/lib/vcs/common_commit.rb (revision 237)
+++ vcs/lib/vcs/common_commit.rb (working copy)
@@ -53,7 +53,7 @@
LOG.info 'Deleting junk files...'
TMP_CL.delete if TMP_CL.exist?
- destdir = ',messages'.to_path/iform['revision'].to_s
+ destdir = '+commited'.to_path/iform['revision'].to_s
destdir.mkpath unless destdir.directory?
[LogEntry, Form, IForm, Message, MAIL, NEWS].each do |path|
next unless path.exist?
Index: vcs/NEWS
--- vcs/NEWS (revision 237)
+++ vcs/NEWS (working copy)
@@ -36,6 +36,9 @@
the status. The color activation can be choose in your configuration
file (auto, never, always).
+ * ,messages is now +commited: You can rename your ,messages and keep just
+ one directory for commited meta information.
+
New in 0.3 2005-09-16:
* The help command now show all commands including vcs ones.
Index: vcs/lib/vcs/vcs.rb
--- vcs/lib/vcs/vcs.rb (revision 237)
+++ vcs/lib/vcs/vcs.rb (working copy)
@@ -362,7 +362,7 @@
return false
end
regexps.each do |re|
- return true if re.match(file)
+ return true if re.match(file) or re.match(file.basename)
end
return false
end