summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/comments/bin/comment.sh26
-rw-r--r--plugins/comments/bin/commit.sh24
-rw-r--r--plugins/comments/bin/print.sh28
-rw-r--r--plugins/comments/bin/showcomment.sh27
-rw-r--r--plugins/comments/dep2
-rw-r--r--plugins/comments/info.mk.in3
-rw-r--r--plugins/date.author/bin/commit.sh28
-rw-r--r--plugins/date.author/dep2
-rw-r--r--plugins/date.author/info.mk.in3
-rw-r--r--plugins/files/bin/blob-gethash.sh26
-rw-r--r--plugins/files/bin/blob-gettype.sh26
-rw-r--r--plugins/files/bin/commit.d.sh42
-rw-r--r--plugins/files/bin/commit.f.sh32
-rw-r--r--plugins/files/bin/commit.sh27
-rw-r--r--plugins/files/bin/file-gettype.sh39
-rw-r--r--plugins/files/bin/get.d.sh46
-rw-r--r--plugins/files/bin/get.f.sh29
-rw-r--r--plugins/files/bin/get.sh32
-rw-r--r--plugins/files/bin/ls.sh50
-rw-r--r--plugins/files/bin/print.sh39
-rw-r--r--plugins/files/bin/tree.sh40
-rw-r--r--plugins/files/dep0
-rw-r--r--plugins/files/etc/3-d.sh3
-rw-r--r--plugins/files/etc/5-f.sh3
-rw-r--r--plugins/files/info.mk.in3
-rw-r--r--plugins/files/lib/stdio.sh74
-rw-r--r--plugins/main.mk.in56
-rw-r--r--plugins/plugin.mk.in90
-rw-r--r--plugins/tags/bin/commit.sh24
-rw-r--r--plugins/tags/bin/get-tag.sh25
-rw-r--r--plugins/tags/bin/print.sh30
-rw-r--r--plugins/tags/bin/tag-id.sh33
-rw-r--r--plugins/tags/bin/tag.sh28
-rw-r--r--plugins/tags/dep2
-rw-r--r--plugins/tags/info.mk.in3
-rw-r--r--plugins/tree/bin/addparent.d.sh44
-rw-r--r--plugins/tree/bin/addparent.f.sh27
-rw-r--r--plugins/tree/bin/addparent.sh35
-rw-r--r--plugins/tree/bin/commit.sh27
-rw-r--r--plugins/tree/bin/delparent.f.sh34
-rw-r--r--plugins/tree/bin/getchildren.sh28
-rw-r--r--plugins/tree/bin/getparents.sh27
-rw-r--r--plugins/tree/bin/print.sh27
-rw-r--r--plugins/tree/dep3
-rw-r--r--plugins/tree/info.mk.in3
45 files changed, 0 insertions, 1200 deletions
diff --git a/plugins/comments/bin/comment.sh b/plugins/comments/bin/comment.sh
deleted file mode 100644
index 0be99e5..0000000
--- a/plugins/comments/bin/comment.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-name='comment'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-file="$REPO/@ID@/$id"
-mkdir -p "`dirname "$file"`"
-editor "$file" >> /dev/stderr
-
diff --git a/plugins/comments/bin/commit.sh b/plugins/comments/bin/commit.sh
deleted file mode 100644
index d13d754..0000000
--- a/plugins/comments/bin/commit.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ commit'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-if [ "$RVS_LEVEL" = '0' ]; then
- id=`cat "$TMPDIR/commit/files"`
- "$RVS" comment "$id"
-fi
-
diff --git a/plugins/comments/bin/print.sh b/plugins/comments/bin/print.sh
deleted file mode 100644
index b04a9cc..0000000
--- a/plugins/comments/bin/print.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='print'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-file="$REPO/@ID@/$id"
-if [ -e "$file" ]; then
- echo "Comment:"
- sed 's/\(.*\)/ > \1/' "$file"
-fi
-
diff --git a/plugins/comments/bin/showcomment.sh b/plugins/comments/bin/showcomment.sh
deleted file mode 100644
index efbc00a..0000000
--- a/plugins/comments/bin/showcomment.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='showcomment'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-file="$REPO/@ID@/$id"
-if [ -e "$file" ]; then
- cat "$file"
-fi
-
diff --git a/plugins/comments/dep b/plugins/comments/dep
deleted file mode 100644
index a5bbb81..0000000
--- a/plugins/comments/dep
+++ /dev/null
@@ -1,2 +0,0 @@
-commit/comments :: commit/files
-
diff --git a/plugins/comments/info.mk.in b/plugins/comments/info.mk.in
deleted file mode 100644
index ad2539d..0000000
--- a/plugins/comments/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = comments
-ver = 0.1
-
diff --git a/plugins/date.author/bin/commit.sh b/plugins/date.author/bin/commit.sh
deleted file mode 100644
index c05f77b..0000000
--- a/plugins/date.author/bin/commit.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ commit'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-if [ "$RVS_LEVEL" = '0' ]; then
- id=`cat "$TMPDIR/commit/files"`
- time=`date +%s`
- file="$REPO/@ID@/$time"
- if [ -n "$wch" ]; then
- "$RVS" addparent "$id" "$wch"
- fi
-fi
-
diff --git a/plugins/date.author/dep b/plugins/date.author/dep
deleted file mode 100644
index 3284d55..0000000
--- a/plugins/date.author/dep
+++ /dev/null
@@ -1,2 +0,0 @@
-commit/date.author :: commit/files
-
diff --git a/plugins/date.author/info.mk.in b/plugins/date.author/info.mk.in
deleted file mode 100644
index 852203d..0000000
--- a/plugins/date.author/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = date.author
-ver = 0.9
-
diff --git a/plugins/files/bin/blob-gethash.sh b/plugins/files/bin/blob-gethash.sh
deleted file mode 100644
index 74defbc..0000000
--- a/plugins/files/bin/blob-gethash.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-name='blob-gethash'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="ID"
-id="`getvar "$1"`"
-
-echo $id | sed 's/.*://'
-
diff --git a/plugins/files/bin/blob-gettype.sh b/plugins/files/bin/blob-gettype.sh
deleted file mode 100644
index da3ee2a..0000000
--- a/plugins/files/bin/blob-gettype.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-name='blob-gettype'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="ID"
-id="`getvar "$1"`"
-
-echo $id | sed 's/:.*//'
-
diff --git a/plugins/files/bin/commit.d.sh b/plugins/files/bin/commit.d.sh
deleted file mode 100644
index d7e48f9..0000000
--- a/plugins/files/bin/commit.d.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-name='commit.d'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="DIRNAME"
-dir="`getvar "$1"`"
-
-tmp=`mktemp`
-t=' ';
-
-cd "$dir"
-for file in *; do
- p="`stat "$file" -c'%a' `" # permissions
- o="`stat "$file" -c'%u (%U)'`" # owner
- g="`stat "$file" -c'%g (%G)'`" # group
- i="`"$RVS" commit "$file"`" # ID
- n="$file" # name
-
- # %p %o %g %i %n
- echo "$p$t$o$t$g$t$i$t$n" >> "$tmp"
-done
-
-"$RVS" commit.f "$tmp" d
-rm "$tmp"
-
diff --git a/plugins/files/bin/commit.f.sh b/plugins/files/bin/commit.f.sh
deleted file mode 100644
index e0df1b2..0000000
--- a/plugins/files/bin/commit.f.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-name='commit.f'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="FILENAME [TYPE]"
-file="`getvar "$1"`"
-prefix="${2-f}"
-
-hash=`sha1sum $file | sed "s/ .*$//"`
-if [ ! -f "$REPO/@ID@/$hash" ]; then
- mkdir -p "$REPO/@ID@/"
- install -m 644 -o $USER -g $USER -T "$file" "$REPO/@ID@/$hash"
-fi
-echo "$prefix:$hash"
-
diff --git a/plugins/files/bin/commit.sh b/plugins/files/bin/commit.sh
deleted file mode 100644
index 0bb8233..0000000
--- a/plugins/files/bin/commit.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='commit'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="[FILE]"
-file=${1-.} # take arg1 as the file, default to the current directory
-
-type=`"$RVS" file-gettype "$file"`
-"$RVS" "commit.$type" "$file"
-
diff --git a/plugins/files/bin/file-gettype.sh b/plugins/files/bin/file-gettype.sh
deleted file mode 100644
index 2a1e0ca..0000000
--- a/plugins/files/bin/file-gettype.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-name='file-gettype'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="FILE"
-file="`getvar "$1"`"
-
-if [ ! -e "$file" ]; then
- fatal "file \`$file' does not exist";
-else
- type=''
- for check in "$ETCDIR/@ID@/"*; do
- type=`"$check" "$file"`
- if [ -n "$type" ]; then break; fi
- done
- if [ -n "$type" ]; then
- echo "$type"
- else
- fatal "cannot handle file type of \`$file'"
- fi
-fi
-
diff --git a/plugins/files/bin/get.d.sh b/plugins/files/bin/get.d.sh
deleted file mode 100644
index 646e29d..0000000
--- a/plugins/files/bin/get.d.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-name='get.d'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="DIRNAME ID"
-dir="`getvar "$1"`"
- id="`getvar "$2"`"
-
-tmp=`mktemp`
-"$RVS" get.f "$tmp" "$id"
-
-#install -d "$dir"
-mkdir -p "$dir"
-
-cd "$dir"
-rm -rf ./*
-while read line; do
- p="`echo "$line" | cut -f1`" # permissions
- o="`echo "$line" | cut -f2`" # owner
- g="`echo "$line" | cut -f3`" # group
- i="`echo "$line" | cut -f4`" # ID
- n="`echo "$line" | cut -f5-`" # name
- "$RVS" get "$n" "$i"
- chmod "$p" "$n"
- #chown "$o:$g" "$n"
-done < "$tmp"
-
-rm "$tmp"
-
diff --git a/plugins/files/bin/get.f.sh b/plugins/files/bin/get.f.sh
deleted file mode 100644
index e3d5edc..0000000
--- a/plugins/files/bin/get.f.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-name='get.f'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="FILENAME ID"
-name="`getvar "$1"`"
- id="`getvar "$2"`"
-
-hash="`"$RVS" blob-gethash "$id"`"
-
-install -T "$REPO/@ID@/$hash" "$name"
-
diff --git a/plugins/files/bin/get.sh b/plugins/files/bin/get.sh
deleted file mode 100644
index 639ac57..0000000
--- a/plugins/files/bin/get.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-name='get'
-ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="FILENAME ID"
-name="`getvar "$1"`"
- id="`getvar "$2"`"
-
-file="$REPO/@ID@/$id"
-
-type="`"$RVS" blob-gettype "$id"`"
-#hash="`"$RVS" blob-gethash "$id"`"
-
-"$RVS" "get.$type" "$name" "$id"
-
diff --git a/plugins/files/bin/ls.sh b/plugins/files/bin/ls.sh
deleted file mode 100644
index 9e586eb..0000000
--- a/plugins/files/bin/ls.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env bash
-name='ls'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="DIR_ID [FORMAT]"
-id="`getvar "$1"`"
-form="${2-%p\t%o\t%g\t%n\t%i}"
-
-# %p - permissions
-# %o - owner
-# %g - group
-# %i - blob id
-# %n - name
-# \t - a tab char
-
-tmp="`mktemp`"
-"$RVS" get.f "$tmp" "$id"
-
-while read line; do
- p="`echo "$line" | cut -f1`"
- o="`echo "$line" | cut -f2`"
- g="`echo "$line" | cut -f3`"
- i="`echo "$line" | cut -f4`"
- n="`echo "$line" | cut -f5-`"
- echo "$form" | sed \
- -e 's:\\t:\t:g' \
- -e "s:%p:${p/:/\\:}:g" \
- -e "s:%o:${o/:/\\:}:g" \
- -e "s:%g:${g/:/\\:}:g" \
- -e "s:%i:${i/:/\\:}:g" \
- -e "s:%n:${n/:/\\:}:g"
-done < "$tmp"
-
diff --git a/plugins/files/bin/print.sh b/plugins/files/bin/print.sh
deleted file mode 100644
index 3657d2f..0000000
--- a/plugins/files/bin/print.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-name='print'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage='ID'
-id="`getvar "$1"`"
-
-hash="`"$RVS" blob-gethash "$id"`"
-file="$REPO/@ID@/$hash"
-
-if [ -e "$file" ]; then
- t="`"$RVS" blob-gettype "$id"`"
- type=''
- case "$t" in
- f) type='regular file';;
- d) type='directory';;
- esac
- echo "File Type: $t ($type)"
-else
- fatal "no object with ID \`$id'"
-fi
-
diff --git a/plugins/files/bin/tree.sh b/plugins/files/bin/tree.sh
deleted file mode 100644
index 6164d94..0000000
--- a/plugins/files/bin/tree.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env bash
-name='tree'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-. "$LIBDIR/@ID@/stdio"
-
-usage="DIR_ID [NAME] [PREFIX] [LAST]"
-id="`getvar "$1"`"
-name="${2-.}"
-pref="$3"
-last="$4"
-
-echo "$pref $name $id"
-pref=' | '
-"$RVS" ls "$id" '%i\t%n' | while read line; do
- i="`echo "$line" | cut -f1`"
- n="`echo "$line" | cut -f2-`"
- t="`"$RVS" blob-gettype "$i"`"
- if [ "$t" = 'd' ]
- "$RVS" tree "$i" "$n" "$pref"
- else
- echo "$pref $n $i"
- fi
-done
-
diff --git a/plugins/files/dep b/plugins/files/dep
deleted file mode 100644
index e69de29..0000000
--- a/plugins/files/dep
+++ /dev/null
diff --git a/plugins/files/etc/3-d.sh b/plugins/files/etc/3-d.sh
deleted file mode 100644
index f169cae..0000000
--- a/plugins/files/etc/3-d.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-if [ -d "$1" ]; then echo 'd'; fi
-
diff --git a/plugins/files/etc/5-f.sh b/plugins/files/etc/5-f.sh
deleted file mode 100644
index 0506894..0000000
--- a/plugins/files/etc/5-f.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-if [ -f "$1" ]; then echo 'f'; fi
-
diff --git a/plugins/files/info.mk.in b/plugins/files/info.mk.in
deleted file mode 100644
index 78a0580..0000000
--- a/plugins/files/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = files
-ver = 0.9
-
diff --git a/plugins/files/lib/stdio.sh b/plugins/files/lib/stdio.sh
deleted file mode 100644
index 974e98e..0000000
--- a/plugins/files/lib/stdio.sh
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-#name='stdio'
-#ver=0.9
-# Copyright (C) 2009-2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-verbose() {
- if [ "$volume" == '-v' ]; then
- echo $@ >> /dev/stderr
- fi
-}
-
-out() {
- if [ "$volume" != '-q' ]; then
- echo $@ >> /dev/stderr
- fi
-}
-
-warn () {
- echo "$name: $1" >> /dev/stderr
-}
-
-fatal () {
- warn "$1"
- exit 1
-}
-
-error() {
- warn "$1"
- cat << __error__ >> /dev/stderr
-Usage: $RVS $name $usage
-
-Try \`$RVS help $name' for more options.
-__error__
- exit 1
-}
-
-getvar() {
- if [ -z "$1" ]; then
- error
- else
- echo $1
- fi
-}
-
-version() {
- echo "$name $ver"
- if [ "$volume" != '-q' ]; then
- cat << __disclaimer__
-$name is copyright (C) 2009-2010 Luke Shumaker
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-Originally written by Luke Shumaker <LukeShu@sbcglobal.net>.
-__disclaimer__
- fi
- exit 0
-}
-
diff --git a/plugins/main.mk.in b/plugins/main.mk.in
deleted file mode 100644
index 774e4ac..0000000
--- a/plugins/main.mk.in
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/make -f
-#name=rvs plugins
-#version='1.0'
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-sysconfdir = @sysconfdir@
-BINDIR = @BINDIR@
-TMPDIR = @TMPDIR@
-LIBDIR = @LIBDIR@
-ETCDIR = @ETCDIR@
-dirs += $(sysconfdir) $(BINDIR) $(TMPDIR) $(LIBDIR) $(ETCDIR)
-
-mods = files tags
-mods-build = $(addprefix build-,$(mods))
-mods-install = $(addprefix install-,$(mods))
-mods-uninstall = $(addprefix uninstall-,$(mods))
-mods-clean = $(addprefix clean-,$(mods))
-mods-distclean = $(addprefix distclean-,$(mods))
-
-.PHONY : all
-all : build
-
-.PHONY : build install clean distclean
-# $(mods-build) $(mods-install) $(mods-clean) $(mods-distclean)
-build : $(mods-build)
-install : $(mods-install)
-uninstall : $(mods-uninstall)
-clean : $(mods-clean)
-distclean : $(mods-distclean)
- $(RM) Makefile *.mk
-
-.SECONDARY:
-
-%/main.mk : plugin.mk %/; cp $< $@
-
-complete-% : %/ %/main.mk; :
-build-% : %/ complete-% %/main.mk; $(MAKE) -C $<
-install-% : %/ complete-% %/main.mk; $(MAKE) -C $< install
-uninstall-% : %/ complete-% %/main.mk; $(MAKE) -C $< uninstall
-clean-% : %/ complete-% %/main.mk; -$(MAKE) -C $< clean
-distclean-% : %/ complete-% %/main.mk; $(MAKE) -C $< distclean
-
diff --git a/plugins/plugin.mk.in b/plugins/plugin.mk.in
deleted file mode 100644
index d631e4e..0000000
--- a/plugins/plugin.mk.in
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/usr/bin/make -f
-#name=rvs plugin Makefile
-#ver=0.9
-include info.mk # this contains the actuall name/version for the plugin
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-sysconfdir = @sysconfdir@
-BINDIR = @BINDIR@
-TMPDIR = @TMPDIR@
-LIBDIR = @LIBDIR@
-ETCDIR = @ETCDIR@
-DEPDIR = @DEPDIR@
-dirs += $(sysconfdir) $(BINDIR) $(TMPDIR) $(LIBDIR) $(ETCDIR) $(DEPDIR)
-
-rvs = @rvs@
-RVS = @RVS@
-
-id = $(name)
-
-# phony targets ####################################################
-all : $(name)
-.PHONY : $(name) install uninstall clean distclean
-.SUFFIXES :
-
-# build ############################################################
-srcFiles = $(filter-out %/Makefile.in,$(shell find $(srcdir)/ -type f))
-
-shSrcFiles = $(filter %.sh,$(srcFiles))
-shOutFiles = $(patsubst $(srcdir)/%,%,$(basename $(shSrcFiles)))
-
-outFiles = $(shOutFiles)
-outBin = $(addprefix $(BINDIR)/$(name)/,$(notdir $(filter bin/%,$(outFiles))))
-outEtc = $(addprefix $(ETCDIR)/$(name)/,$(notdir $(filter etc/%,$(outFiles))))
-outLib = $(addprefix $(LIBDIR)/$(name)/,$(notdir $(filter lib/%,$(outFiles))))
-
-$(name) : $(myoutdir) $(shOutFiles)
-
-# (un)install ######################################################
-
-install : $(outBin) $(outEtc) $(outLib)
-
-$(outBin) : $(BINDIR)/$(name)/% : bin/%
- $(MKDIR) $(dir $@)
- $(INSTALL_PROGRAM) $< $@
-
-$(outEtc) : $(ETCDIR)/$(name)/% : etc/%
- $(MKDIR) $(dir $@)
- $(INSTALL_PROGRAM) $< $@
-
-$(outLib) : $(LIBDIR)/$(name)/% : lib/%
- $(MKDIR) $(dir $@)
- $(INSTALL_DATA) $< $@
-
-uninstall : $(addprefix un,$(outBin))
- $(RM) -r $(ETCDIR)/$(name)
- $(RM) -r $(LIBDIR)/$(name)
-
-# clean ############################################################
-
-clean :
-
-distclean : clean
- find ./ -name Makefile -exec $(RM) '{}' \;
- find ./ -name '*.mk' -exec $(RM) '{}' \;
-
-# implicit rules ###################################################
-
-b := @
-# build shell scripts
-$(shOutFiles) : % : %.sh
- $(INSTALL_PROGRAM) $< $@
- $(SED) -i \
- -e 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' \
- -e 's/$bID@/$(subst /,\/,$(id))/g' \
- $@
-
diff --git a/plugins/tags/bin/commit.sh b/plugins/tags/bin/commit.sh
deleted file mode 100644
index 9282a11..0000000
--- a/plugins/tags/bin/commit.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ commit'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-if [ "$RVS_LEVEL" = '0' ]; then
- id=`cat "$TMPDIR/commit/files"`
- "$RVS" tag "$id" wch
-fi
-
diff --git a/plugins/tags/bin/get-tag.sh b/plugins/tags/bin/get-tag.sh
deleted file mode 100644
index fa7895b..0000000
--- a/plugins/tags/bin/get-tag.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ get-tag'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS get-tag FILENAME TAG"
-name="${1?"$usage"}"
- tag="${2?"$usage"}"
-
-"$RVS" get "$name" "`"$RVS" tag-id "$tag"`"
-
diff --git a/plugins/tags/bin/print.sh b/plugins/tags/bin/print.sh
deleted file mode 100644
index b7bc1c5..0000000
--- a/plugins/tags/bin/print.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-name='print'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-dir="$REPO/@ID@"
-if [ -d "$dir" ]; then
- cd "$dir"
- echo "Tags:"
- grep -rFxl "$id" ./ | sed 's/^\.\/\(.*\)/ \1/'
-fi
-
-
diff --git a/plugins/tags/bin/tag-id.sh b/plugins/tags/bin/tag-id.sh
deleted file mode 100644
index ef95f69..0000000
--- a/plugins/tags/bin/tag-id.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-name='tag-id'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name TAG"
-tag="${1?"$usage"}"
-
-file="$REPO/@ID@/$tag"
-
-if [ -f "$file" ]; then
- cat "$REPO/@ID@/$tag"
-else
- echo "$0: cannot find tag \`$tag'" >> /dev/stderr
- exit 1
-fi
-
-
-
diff --git a/plugins/tags/bin/tag.sh b/plugins/tags/bin/tag.sh
deleted file mode 100644
index bc3f546..0000000
--- a/plugins/tags/bin/tag.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ tag'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-# tag ID TAG
-usage="usage: $RVS tag ID TAG"
- ID="${1?"$usage"}"
-tag="${2?"$usage"}"
-
-file="$REPO/@ID@/$tag"
-mkdir -p "`dirname "$file"`"
-echo "$ID" > "$file"
-
diff --git a/plugins/tags/dep b/plugins/tags/dep
deleted file mode 100644
index fd9e5f7..0000000
--- a/plugins/tags/dep
+++ /dev/null
@@ -1,2 +0,0 @@
-commit/tags :: commit/files
-
diff --git a/plugins/tags/info.mk.in b/plugins/tags/info.mk.in
deleted file mode 100644
index 3f08f99..0000000
--- a/plugins/tags/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = tags
-ver = 0.1
-
diff --git a/plugins/tree/bin/addparent.d.sh b/plugins/tree/bin/addparent.d.sh
deleted file mode 100644
index db43dd2..0000000
--- a/plugins/tree/bin/addparent.d.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env bash
-name='addparent.d'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name CHILD PARENT"
- child=${1?"$usage"}
-parent=${2?"$usage"}
-
-tc="`mktemp`"
-tp="`mktemp`"
-
-"$RVS" ls "$child" '%i\t%n' > "$tc"
-"$RVS" ls "$parent" '%i\t%n' > "$tp"
-
-while read line; do
- name="`echo "$line" | cut -f2-`"
- nID="`echo "$line" | cut -f1`"
- oID="`sed -n "s:^\([a-z]\:[0-9a-f]*\)\t${name/:/\\:}$:\1:p" "$tp"`"
-
- if [ -n "$oID" ]; then
- nT="`"$RVS" blob-gettype "$nID"`"
- oT="`"$RVS" blob-gettype "$oID"`"
- if [ "$nT" = "$oT" ]; then
- "$RVS" addparent "$nID" "$oID"
- fi
- fi
-done < "$tc"
-
-"$RVS" addparent.f "$child" "$parent"
diff --git a/plugins/tree/bin/addparent.f.sh b/plugins/tree/bin/addparent.f.sh
deleted file mode 100644
index 61b4f92..0000000
--- a/plugins/tree/bin/addparent.f.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='addparent.f'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name CHILD PARENT"
- child=${1?"$usage"}
-parent=${2?"$usage"}
-
-file="$REPO/tree/$child/$parent"
-mkdir -p "`dirname "$file"`"
-echo "$parent" > "$file"
-
diff --git a/plugins/tree/bin/addparent.sh b/plugins/tree/bin/addparent.sh
deleted file mode 100644
index 6759bcb..0000000
--- a/plugins/tree/bin/addparent.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-name='addparent'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name CHILD PARENT"
- child=${1?"$usage"}
-parent=${2?"$usage"}
-
-if [ ! "$child" = "$parent" ]; then
- ct="`"$RVS" blob-gettype "$child"`"
- pt="`"$RVS" blob-gettype "$parent"`"
-
- if [ "$ct" = "$pt" ]; then
- "$RVS" "addparent.$ct" "$child" "$parent"
- else
- echo "$0: CHILD and PARENT must be the same type">>/dev/stderr
- exit 1
- fi
-fi
-
diff --git a/plugins/tree/bin/commit.sh b/plugins/tree/bin/commit.sh
deleted file mode 100644
index 89b1bf6..0000000
--- a/plugins/tree/bin/commit.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='rvs @ID@ commit'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-if [ "$RVS_LEVEL" = '0' ]; then
- id=`cat "$TMPDIR/commit/files"`
- wch="`"$RVS" tag-id wch 2>/dev/null`"
- if [ -n "$wch" ]; then
- "$RVS" addparent "$id" "$wch"
- fi
-fi
-
diff --git a/plugins/tree/bin/delparent.f.sh b/plugins/tree/bin/delparent.f.sh
deleted file mode 100644
index e53df9b..0000000
--- a/plugins/tree/bin/delparent.f.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-name='delparent.f'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="usage: $RVS $name CHILD PARENT"
- child=${1?"$usage"}
-parent=${2?"$usage"}
-
-file="$REPO/tree/$child/$parent"
-rm "$file"
-if [ -z "$(ls "`dirname "$file"`")" ]; then
- rmdir "`dirname "$file"`"
-fi
-
- dir="$REPO/tree/$child"
-if [ -z "$(ls "`dirname "$dir"`")" ]; then
- rmdir "`dirname "$dir"`"
-fi
-
diff --git a/plugins/tree/bin/getchildren.sh b/plugins/tree/bin/getchildren.sh
deleted file mode 100644
index 952522c..0000000
--- a/plugins/tree/bin/getchildren.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='getchildren'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-dir="$REPO/@ID@/"
-if [ -d "$dir" ]; then
- grep -rFxh "$id" "$dir"
-fi
-
-
diff --git a/plugins/tree/bin/getparents.sh b/plugins/tree/bin/getparents.sh
deleted file mode 100644
index 6e3edbd..0000000
--- a/plugins/tree/bin/getparents.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='getparents'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-dir="$REPO/@ID@/$id"
-if [ -d "$dir" ]; then
- cat "$dir"/*
-fi
-
diff --git a/plugins/tree/bin/print.sh b/plugins/tree/bin/print.sh
deleted file mode 100644
index 0ebf8fd..0000000
--- a/plugins/tree/bin/print.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='print'
-ver=0.1
-# Copyright (C) 2010 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-usage="Usage: $RVS $name ID"
-id="${1?"$usage"}"
-
-echo "Parents:"
-"$RVS" getparents "$id" | sed 's/\(.*\)/ \1/'
-echo "Children:"
-"$RVS" getchildren "$id" | sed 's/\(.*\)/ \1/'
-
diff --git a/plugins/tree/dep b/plugins/tree/dep
deleted file mode 100644
index 2485770..0000000
--- a/plugins/tree/dep
+++ /dev/null
@@ -1,3 +0,0 @@
-commit/tags :: commit/tree
-commit/tree :: commit/files
-
diff --git a/plugins/tree/info.mk.in b/plugins/tree/info.mk.in
deleted file mode 100644
index b947f3d..0000000
--- a/plugins/tree/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = tree
-ver = 0.1
-