summaryrefslogtreecommitdiff
path: root/commit.d/50vcs-commit
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-02 18:32:35 -0400
committerJoey Hess <joey@kitenet.net>2010-06-02 18:32:35 -0400
commit005248d3f7b0dd763bcf0d16881cd5cc1b95c3fc (patch)
tree01332bc3bcfdfe813b09b24cbbc2922812fcc172 /commit.d/50vcs-commit
parent95f3d2d8d6ec9124d7c92d6ba614da341c1042c5 (diff)
Fix backwards test for HGUSER. (Mike Rich)
Diffstat (limited to 'commit.d/50vcs-commit')
-rwxr-xr-xcommit.d/50vcs-commit2
1 files changed, 1 insertions, 1 deletions
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