From 5bbc211198f65affe30184b646a75feb21ef90a6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 10 Oct 2009 17:19:51 +0200 Subject: [PATCH] scripts: replace calls to svn with calls to hg in script to renumber patches --- scripts/patch-renumber.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/patch-renumber.sh b/scripts/patch-renumber.sh index f670b90a..7ea2aa15 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