summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-10 15:19:51 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-10 15:19:51 (GMT)
commit5bbc211198f65affe30184b646a75feb21ef90a6 (patch)
tree8c0f5d4a2e197011360a9f40cc5f049f5bcf26b0 /scripts
parenta83479174ba83d396deb118351983f2d95da3705 (diff)
scripts: replace calls to svn with calls to hg in script to renumber patches
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/patch-renumber.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/patch-renumber.sh b/scripts/patch-renumber.sh
index f670b90..7ea2aa1 100755
--- a/scripts/patch-renumber.sh
+++ b/scripts/patch-renumber.sh
@@ -23,9 +23,9 @@ dir="${1}"
cpt="${2}"
inc="${3}"
-case "$(LC_ALL=C svnversion "${dir}" 2>/dev/null)" in
- exported) CMD="mv -v";;
- *) CMD="svn mv";;
+case "$(LC_ALL=C hg id "${dir}" 2>/dev/null)" in
+ "") CMD="mv -v";;
+ *) CMD="hg mv";;
esac
for p in "${dir}"/*.patch; do