summaryrefslogtreecommitdiff
path: root/commit.d
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d')
-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