common wrapper/colorizer for: bzr cvs svn
sdobrev at sistechnology.com
sdobrev at sistechnology.com
Wed Mar 12 22:06:36 GMT 2008
hi.
i do use all of cvs svn and (now) bzr at same time on unix, so here is
a common management to them all:
- wrapper for frequently used commands (vcs.sh)
- colorizer, in the spirit of colorcvs/colorsvn family, but
simpler/smaller (colorvcs.py).
the wrapper works fine without the colorizer (but looks for it via
`which` ).
if anyone is interested, see attached .tbz.
my preferred usage is having both in path, and symlinking vcs to be
called 'v' and also 'u':
$ u ... does update
$ v u ... same
$ v s ... does status
$ v i -m fixx ... does commit
$ v ii ... resolve conflict
$ v d ... does diff
$ v dd ... does diff ignoring whitespace
$ v r ... does remove
$ v a ... does add
$ v l ... does log
$ v revert ... does revert -- this one asks for confirmation, and is
intentionaly longer (was just 'v v' but happened to kill a file)
The vcs-guessing is done by looking for ./CVS, ./.svn, or .bzr in 3
levels up from ./
i did program another naming schemes (e.g. v-status or vvs) there but
i didnt find a use of them.
excuse me if this isn't proper place for such things... maybe u have
some wiki page, like usage-recipes?
ciao
svilen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcs-commonwrap.tbz
Type: application/x-tbz
Size: 3148 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080313/e3c28ea2/attachment.bin
More information about the bazaar
mailing list