From 1a2c28ad8b1aa4904916eff977756c6aaaa3b632 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Nov 2007 11:18:47 -0500 Subject: [PATCH] releasing version 0.17 --- debian/changelog | 6 ++++++ lib/git-fake-bare | 2 +- mr | 6 +++--- mrconfig.complex | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6ea3f1a..ff79043 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mr (0.17) unstable; urgency=low + + * Even bigger hammer: Set LC_ALL. Closes: #453305 + + -- Joey Hess Thu, 29 Nov 2007 11:18:40 -0500 + mr (0.16) unstable; urgency=low * Use LC_MESSAGES=C not LANG=C, as if the user has LC_MESSAGES set, LANG diff --git a/lib/git-fake-bare b/lib/git-fake-bare index ac63404..33bd39e 100644 --- a/lib/git-fake-bare +++ b/lib/git-fake-bare @@ -48,7 +48,7 @@ git_fake_bare_diff = error "diff does not work for fake bare git repositories (y git_fake_bare_log = git log "$@" git_fake_bare_register = - url="$(LC_MESSAGES=C GIT_CONFIG=config git-config --get remote.origin.url)" || true + url="$(LC_ALL=C GIT_CONFIG=config git-config --get remote.origin.url)" || true if [ -z "$url" ]; then error "cannot determine git url" fi diff --git a/mr b/mr index db3abc5..e4beac8 100755 --- a/mr +++ b/mr @@ -1202,14 +1202,14 @@ darcs_log = darcs changes "$@" git_bare_log = git log "$@" svn_register = - url=`LC_MESSAGES=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2` + url=`LC_ALL=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2` if [ -z "$url" ]; then error "cannot determine svn url" fi echo "Registering svn url: $url in $MR_CONFIG" mr -c "$MR_CONFIG" config "`pwd`" checkout="svn co '$url' '$MR_REPO'" git_register = - url="`LC_MESSAGES=C git config --get remote.origin.url`" || true + url="`LC_ALL=C git config --get remote.origin.url`" || true if [ -z "$url" ]; then error "cannot determine git url" fi @@ -1239,7 +1239,7 @@ darcs_register = echo "Registering darcs repository $url in $MR_CONFIG" mr -c "$MR_CONFIG" config "`pwd`" checkout="darcs get '$url'p '$MR_REPO'" git_bare_register = - url="`LC_MESSAGES=C GIT_CONFIG=config git config --get remote.origin.url`" || true + url="`LC_ALL=C GIT_CONFIG=config git config --get remote.origin.url`" || true if [ -z "$url" ]; then error "cannot determine git url" fi diff --git a/mrconfig.complex b/mrconfig.complex index d329cf3..11f7f6f 100644 --- a/mrconfig.complex +++ b/mrconfig.complex @@ -11,7 +11,7 @@ svn_cleanup = svn cleanup "$@" git_gc = git gc "$@" git_push = git push "$@" git_tag = git tag -l -svn_tag = svn ls "$(LC_MESSAGES=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')" +svn_tag = svn ls "$(LC_ALL=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')" # This hack is here because git-pull stupidly outputs tag info to stderr. # Shut it up but let real errors through, for use in cron. quietupdate = mr -s -n update 3>&1 1>/dev/null 2>&3 | egrep -v '(storing tag|tag: )' || true -- 2.39.5