Hi, you can now update your vcs (as root):
gem update --system
gem install vcs -y --no-rdoc
New in 0.4:
* Vcs now supports ruby 1.8.3.
* Vcs extensions files:
- Protocol version:
You can now add `protocol_version "0.1"' in your extensions.
Thus
you will be warned when the format changes. Thanks to Akim Demaille
for this idea.
- Default commit:
By adding `default_commit :your_commit_method' you override the
default commit method with yours. So you can call `commit' and `ci',
but also your old aliases. Of course you can call the real commit
with `commit_' or `ci_'.
* Status & User Configuration File:
All .vcs files between your current path and root will be honored.
Example of configuration file.
>>> ~/.vcs <<<<
---
exclude: # Excluded Files:
- !re ,messages # not displayed (default ^-.*$)
unmask: # Unmasked Files:
- !re \bdoc # displayed with a `\' (default ^\\.*$)
precious: # Precious Files:
- !re .*\.(diff|patch)$ # displayed with a `+' (default ^\+.*$)
# .vcs files are also treat as precious
junk: # Junk Files:
- !re ... # displayed with a `,' (default ^,.*$)
>>> ~/.vcsrc <<<<
* Color:
- Status: the status output is now colored depending of the meaning of
the status. The color activation can be choose in your configuration
file (auto, never, always).
- Logger: messages displayed by the Vcs logger are new colored.
cyan (info), yellow (warnings), red (errors), blinking red (fatal).
* ,messages is now +commited: You can rename your ,messages and keep just
one directory for commited meta information.
* GnuPG signature is now optional:
In a .vcs configuration file you can disable the signature option.
For this just add this "sign: false" to .vcs configuration file.
However it's better to keep this option set.
* Commands:
- svn list:
- Now supports category listing:
- list all junk files in foo:
svn list --junk foo
- list all precious, and unmasked files:
svn list --precious --unmask
- Action supports (--do switch):
- svn list --junk --do rm
- svn list --precious --do wc
- svn list --unrecognize --do 'vcs-svn add'
- svn list --missing --do 'vcs-svn remove'
- svn junk: This command use `list' to remove all junk files.
- vcs back: find the youngest revision that passes a given test.
This feature is Based on prcs-back (LrdeTools) from Akim Demaille.
- svn ignore: an helper for the svn:ignore property.
* Sorted outputs:
- Vcs now supports sorting:
In a .vcs configuration file you can add a `sorting' key which
contains a list of regular expressions (Thanks to Akim Demaille and
Alexandre Borghi for this idea).
For example:
>>> ~/.vcs <<<<
---
sorting:
- !re (NEWS|README|TODO) # These files first
- !re src/ # Then the src directory
- !re test/ # Then the test directory
- !re parse/ # parse and ast are subdirectories
- !re ast/ # present in both src and test
- !re \.cc$ # directories. Thus you will get
- !re \.hh$ # something like:
# - NEWS
# - src/parse/a.hh
# - src/parse/b.hh
# - src/parse/a.cc
# - src/parse/b.cc
# - src/ast/a.hh
# - src/ast/b.hh
# - src/ast/a.cc
# - src/ast/b.cc
# - test/parse/a.hh
# - test/parse/a.cc
# - test/ast/a.hh
# - test/ast/a.cc
- Concerned commands:
- status
- diffw (a more human readable diff)
- mk_log_entry
- mk_changelog_entry
- mk_message_entry
- diffstat
- message
- mk_form
- mk_iform
--
Nicolas Pouillard aka Ertai <ertai(a)feydakins.org>
http://uttk.org Uttk -- Unified Test Tool Kit