diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-10 17:19:51 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-10 17:19:51 +0200 |
commit | 5bbc211198f65affe30184b646a75feb21ef90a6 (patch) | |
tree | 8c0f5d4a2e197011360a9f40cc5f049f5bcf26b0 /scripts/patch-renumber.sh | |
parent | a83479174ba83d396deb118351983f2d95da3705 (diff) | |
download | crosstool-ng-5bbc211198f65affe30184b646a75feb21ef90a6.tar.gz crosstool-ng-5bbc211198f65affe30184b646a75feb21ef90a6.tar.bz2 crosstool-ng-5bbc211198f65affe30184b646a75feb21ef90a6.zip |
scripts: replace calls to svn with calls to hg in script to renumber patches
Diffstat (limited to 'scripts/patch-renumber.sh')
-rwxr-xr-x | scripts/patch-renumber.sh | 6 |
1 files 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 |