diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-07-20 18:17:23 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:12 -0600 |
commit | 4315b8593150cbd1f90669ffc4e5a10d77b7abfd (patch) | |
tree | 60bdd0d7a3996d16d85252831840d2797f8f7bef | |
parent | 363bfb698b6cfe22d34ae4e974760b4066a5deb9 (diff) |
0.6.3 -- begin reworking $$libdir$$/lib
-rw-r--r-- | HACKING | 14 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | Variables | 2 | ||||
-rw-r--r-- | src/rvs-core/init.sh | 2 | ||||
-rw-r--r-- | src/rvs.sh | 11 |
5 files changed, 17 insertions, 16 deletions
@@ -1,5 +1,5 @@ ////////////////////////////////////////////////////////////////////// - rvs 0.6.1 + rvs 0.6.3 retroactive versioning system a versioning system that allows you to check in commit 2 before commit 1 @@ -39,7 +39,7 @@ configuration Variables Again the configuration variables and their default values are: - VER '0.6.1' + VER '0.6.3' SHELL '/usr/bin/env bash' prefix "$HOME" bindir 'bin' @@ -51,7 +51,7 @@ The source for the core is in `source/rvs-core/' $$SHELL$$ is the shell all shell scripts that are part of rvs are - run in. As of rvs 0.6.1 all executables are shell scripts. + run in. As of rvs 0.6.3 all executables are shell scripts. Most of these can easily be changed _after_ compilation also: VER line 4 of the wrapper @@ -85,7 +85,7 @@ As you probably noticed (if you've looked at the blueprints or source files), only directories and regular files have been - implemented as of rvs 0.6.2. + implemented as of rvs 0.6.3. After `rvs commit' has done this, it creates a meta-file for that commit. The meta file contains author, copyright owner, licence @@ -115,6 +115,8 @@ having to worry about bindings $$libdir$$/lib/ + THIS WAS WRITTEN FOR rvs 0.6.2 + THIS PORTION OF THE CODE IS BEING REVISED IN rvs 0.6.3 I have created two 'libraries' for use by rvs components. They provide several functions that can be accessed by shell script by @@ -146,7 +148,7 @@ getid FILE returns what the id of a given file would be if it were in the database. This is used to know where to put files when - commiting them. In 0.6.[0-2] this is just the sha1sum of + commiting them. In 0.5.8-0.6.3 this is just the sha1sum of the file NOTE: the "log*" functions aren't very stable or developed loginit FILE @@ -180,7 +182,7 @@ directory, a link, or any other type of file, 2 file are created in `.rvs/files', the "raw-file" and the "meta-file". When we speek of file IDs, we mean the filename of the corresponding file in - `.rvs/files' in rvs 0.5.8-0.6.2 this is just the sha1sum of the + `.rvs/files' in rvs 0.5.8-0.6.3 this is just the sha1sum of the file. The meta-file stores everything not part of the file itself; the filename, file-type, author, copyright owner, file permissions, timestamps, etc, and the ID of the corresponding raw-file. In the @@ -1,5 +1,5 @@ ////////////////////////////////////////////////////////////////////// - rvs 0.6.1 + rvs 0.6.3 retroactive versioning system a versioning system that allows you to check in commit 2 before commit 1 @@ -68,7 +68,7 @@ building $ ./configure --VAR_NAME=VALUE The different configuration variables are as follows: - VER value='0.6.0' + VER value='0.6.3' rvs's internal varsion number SHELL value='/usr/bin/env bash' the shell that scripts will be run in. @@ -1,4 +1,4 @@ -VER '0.6.2' +VER '0.6.3' SHELL '/usr/bin/env bash' prefix "$HOME" bindir 'bin' diff --git a/src/rvs-core/init.sh b/src/rvs-core/init.sh index abc5b08..cb5866c 100644 --- a/src/rvs-core/init.sh +++ b/src/rvs-core/init.sh @@ -14,5 +14,5 @@ usage='[OPTIONS]' source "`rvs -d`/lib/stdio" source "`rvs -d`/lib/rvsdb" -mkdir -p $repo/{,files,tmp} +mkdir -p $repo/{,files} @@ -1,7 +1,7 @@ #!$$SHELL$$ # abomination module:rvs name='rvs' -ver='0.5.10' +ver='0.6.3' usage='COMMAND [OPTIONS]' # Copyright (C) 2009 Luke Shumaker # This program is distributed in the hope that it will be useful, @@ -11,21 +11,20 @@ usage='COMMAND [OPTIONS]' # # Originally written by Luke Shumaker <lukeshu@sbcglobal.net>. -RVSDIR='$$libdir$$' +export RVSDIR='$$libdir$$' source "$RVSDIR/lib/stdio" #source "$RVSDIR/lib/rvsdb" # START OPTION HANDLING # com=$1; -# END OPTION HANDLING # +# END OPTION HANDLING # case "$com" in + # -d is left for back-compat, should be removed by the end of 0.6.3 -d) echo "$RVSDIR";; '') error 'no command specified';; *) if [ -f "$RVSDIR/$com" ]; then - export TMPDIR="$repo/tmp" - #echo "$@" >> $repo/log - $RVSDIR/$@ + $SHELL $RVSDIR/$@ else error "unrecognized command \`$com'" fi |