From 005248d3f7b0dd763bcf0d16881cd5cc1b95c3fc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Jun 2010 18:32:35 -0400 Subject: Fix backwards test for HGUSER. (Mike Rich) --- commit.d/50vcs-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit.d/50vcs-commit') diff --git a/commit.d/50vcs-commit b/commit.d/50vcs-commit index 45143c3..197655f 100755 --- a/commit.d/50vcs-commit +++ b/commit.d/50vcs-commit @@ -49,7 +49,7 @@ elif [ "$VCS" = hg ] && [ -d .hg ]; then if [ -n "$USER" ]; then export LOGNAME="$USER" fi - if [ -n "$HGUSER" ]; then + if [ -z "$HGUSER" ]; then export HGUSER="$USER@$hostname" fi if [ -n "$logfile" ]; then -- cgit v1.2.3