summaryrefslogtreecommitdiff
path: root/modules/tree
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-07-09 18:53:23 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-07-09 18:53:23 -0600
commit4fae29531c16df28685ca0530fbc0162b7882cff (patch)
treeb838d208af69475f68e1bba212433f5f85b2d005 /modules/tree
parent1c2efabda503cc1b668b492ff553f18179cdb429 (diff)
whitespace
Diffstat (limited to 'modules/tree')
-rw-r--r--modules/tree/addparent.d.sh8
-rw-r--r--modules/tree/addparent.f.sh6
-rw-r--r--modules/tree/addparent.sh8
-rw-r--r--modules/tree/commit.sh6
-rw-r--r--modules/tree/delparent.f.sh10
-rw-r--r--modules/tree/getchildren.sh6
-rw-r--r--modules/tree/getparents.sh6
-rw-r--r--modules/tree/print.sh6
8 files changed, 28 insertions, 28 deletions
diff --git a/modules/tree/addparent.d.sh b/modules/tree/addparent.d.sh
index db43dd2..20c28b4 100644
--- a/modules/tree/addparent.d.sh
+++ b/modules/tree/addparent.d.sh
@@ -2,17 +2,17 @@
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>.
@@ -31,7 +31,7 @@ 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"`"
diff --git a/modules/tree/addparent.f.sh b/modules/tree/addparent.f.sh
index 61b4f92..5d913da 100644
--- a/modules/tree/addparent.f.sh
+++ b/modules/tree/addparent.f.sh
@@ -2,17 +2,17 @@
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>.
diff --git a/modules/tree/addparent.sh b/modules/tree/addparent.sh
index 6759bcb..4f1fd86 100644
--- a/modules/tree/addparent.sh
+++ b/modules/tree/addparent.sh
@@ -2,17 +2,17 @@
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>.
@@ -24,7 +24,7 @@ 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
diff --git a/modules/tree/commit.sh b/modules/tree/commit.sh
index 89b1bf6..1715f23 100644
--- a/modules/tree/commit.sh
+++ b/modules/tree/commit.sh
@@ -2,17 +2,17 @@
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>.
diff --git a/modules/tree/delparent.f.sh b/modules/tree/delparent.f.sh
index e53df9b..422778d 100644
--- a/modules/tree/delparent.f.sh
+++ b/modules/tree/delparent.f.sh
@@ -2,17 +2,17 @@
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>.
@@ -23,12 +23,12 @@ parent=${2?"$usage"}
file="$REPO/tree/$child/$parent"
rm "$file"
-if [ -z "$(ls "`dirname "$file"`")" ]; then
+if [ -z "$(ls "`dirname "$file"`")" ]; then
rmdir "`dirname "$file"`"
fi
dir="$REPO/tree/$child"
-if [ -z "$(ls "`dirname "$dir"`")" ]; then
+if [ -z "$(ls "`dirname "$dir"`")" ]; then
rmdir "`dirname "$dir"`"
fi
diff --git a/modules/tree/getchildren.sh b/modules/tree/getchildren.sh
index 952522c..4ef5a22 100644
--- a/modules/tree/getchildren.sh
+++ b/modules/tree/getchildren.sh
@@ -2,17 +2,17 @@
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>.
diff --git a/modules/tree/getparents.sh b/modules/tree/getparents.sh
index 6e3edbd..c060605 100644
--- a/modules/tree/getparents.sh
+++ b/modules/tree/getparents.sh
@@ -2,17 +2,17 @@
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>.
diff --git a/modules/tree/print.sh b/modules/tree/print.sh
index 0ebf8fd..709d125 100644
--- a/modules/tree/print.sh
+++ b/modules/tree/print.sh
@@ -2,17 +2,17 @@
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>.