diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-02 18:32:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-02 18:32:35 -0400 |
commit | 005248d3f7b0dd763bcf0d16881cd5cc1b95c3fc (patch) | |
tree | 01332bc3bcfdfe813b09b24cbbc2922812fcc172 | |
parent | 95f3d2d8d6ec9124d7c92d6ba614da341c1042c5 (diff) |
Fix backwards test for HGUSER. (Mike Rich)
-rwxr-xr-x | commit.d/50vcs-commit | 2 | ||||
-rw-r--r-- | debian/changelog | 6 |
2 files changed, 7 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 diff --git a/debian/changelog b/debian/changelog index 3c86add..3de5808 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +etckeeper (0.48) UNRELEASED; urgency=low + + * Fix backwards test for HGUSER. (Mike Rich) + + -- Joey Hess <joeyh@debian.org> Wed, 02 Jun 2010 18:32:17 -0400 + etckeeper (0.47) unstable; urgency=low * Set HOME=~root so that VCS like bzr do not drop root-owned files in |