diff options
Diffstat (limited to 'commit.d/50vcs-commit')
-rwxr-xr-x | commit.d/50vcs-commit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commit.d/50vcs-commit b/commit.d/50vcs-commit index 69cfd6b..7318a46 100755 --- a/commit.d/50vcs-commit +++ b/commit.d/50vcs-commit @@ -49,6 +49,9 @@ elif [ "$VCS" = hg ] && [ -d .hg ]; then if [ -n "$USER" ]; then export LOGNAME="$USER" fi + if [ -n "$HGUSER" ]; then + export HGUSER="$USER@$hostname" + fi if [ -n "$logfile" ]; then hg commit $HG_COMMIT_OPTIONS -l "$logfile" else |