pvc <cmd>: patch version control command line utility.
NOTICE: pvc now works but will have bugs and the API is subject to change.
Use at your own risk and always back up work that you are using pvc
to track (aka use
git and pvc together).
Simply follow civlua's
#Installation and add the following to your
.bashrc
alias pvc="civlua pvc"
pvc is a version control system similar to git or mercurial, but is ultra
simple: branches are simply a
base followed by a set of unix patches with
incrementing id. The only fundamental disadvantage (or advantage) of using pvc
instead of git is that pvc supports only fast-forward merges, which are the
cleanest and simplest to understand.
Builtin cmds:
: if
branch is empty then return the active
branch#id.
If
branch is set then this sets the active
branch#id, causing the
local directory to be updated (default id=tip).
git equivalent: checkout
*
tip [branch