/util/hg_hooks: ccdc50e66285: Fix repo comparison path to be /sr...
Daniel Atallah
datallah at pidgin.im
Thu Jul 5 13:26:17 EDT 2012
Changeset: ccdc50e662850bf75d56b12e1f196dc10ec10369
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2012-07-05 13:23 -0400
Branch: default
URL: http://hg.pidgin.im/util/hg_hooks/rev/ccdc50e66285
Description:
Fix repo comparison path to be /srv instead of /var
diffstat:
notify_repo_sync.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff --git a/notify_repo_sync.sh b/notify_repo_sync.sh
--- a/notify_repo_sync.sh
+++ b/notify_repo_sync.sh
@@ -3,8 +3,8 @@
REPO=$1
#Only trigger notification if it is repo that is accessible via hgweb
-if [[ $REPO == /var/mercurial-server/repos/* ]]; then
- #Strip off "/var/mercurial-server/repos"
+if [[ $REPO == /srv/mercurial-server/repos/* ]]; then
+ #Strip off "/srv/mercurial-server/repos"
WEBROOT=`echo "$REPO" | sed -e "s/^\/srv\/mercurial-server\/repos\//\//"`
NOTIFICATION_REPO=/srv/mercurial-server/notification-repo
More information about the Commits
mailing list