projects
/
hvutilities.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create library of common hg-related functions
[hvutilities.git]
/
scripts
/
vco-sub
diff --git
a/scripts/vco-sub
b/scripts/vco-sub
index
374faa7
..
a1a2275
100755
(executable)
--- a/
scripts/vco-sub
+++ b/
scripts/vco-sub
@@
-1,6
+1,10
@@
#!/bin/bash
set -o errexit
#!/bin/bash
set -o errexit
+SCRIPT="`readlink -e $0`"
+SCRIPTPATH=$(dirname ${SCRIPT})
+source ${SCRIPTPATH}/hv-hg-functions.sh
+
PROG_NAME=$(basename $0)
# Version control checkout command for all subrepositories.
PROG_NAME=$(basename $0)
# Version control checkout command for all subrepositories.
@@
-19,16
+23,6
@@
print_usage()
echo " -m display only subrepositories with local modifications"
}
echo " -m display only subrepositories with local modifications"
}
-display_subrepo_name()
-{
- COLOR_BLUE='\033[1;34m'
- COLOR_NORMAL='\033[0m'
-
- echo -en "${COLOR_BLUE}"
- echo "${dest}"
- echo -en "${COLOR_NORMAL}"
-}
-
if [ "x${1}" = "x--help" ]; then
print_usage
exit 1
if [ "x${1}" = "x--help" ]; then
print_usage
exit 1