List:Commits« Previous MessageNext Message »
From:Jonathan Perkin Date:December 4 2007 12:57pm
Subject:bk commit into 5.0 tree (jperkin:1.2604)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jperkin.  When jperkin does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-04 12:57:16+00:00, jperkin@stripped +1 -0
  post-commit:
    Use $BK_USER, if set, in preference to $USER

  BitKeeper/triggers/post-commit@stripped, 2007-12-04 12:56:36+00:00, jperkin@stripped +10 -3
    Use $BK_USER, if set, in preference to $USER

diff -Nrup a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
--- a/BitKeeper/triggers/post-commit	2007-06-18 19:15:24 +01:00
+++ b/BitKeeper/triggers/post-commit	2007-12-04 12:56:36 +00:00
@@ -1,7 +1,14 @@
 #!/bin/sh
 
 #shift
-FROM=$USER@stripped
+if [ -n "$BK_USER" ]
+then
+  COMMITTER=$BK_USER
+  FROM=$BK_USER@stripped
+else
+  COMMITTER=$USER
+  FROM=$USER@stripped
+fi
 COMMITS=commits@stripped
 DOCS=docs-commit@stripped
 LIMIT=10000
@@ -88,8 +95,8 @@ Subject: bk commit into $VERSION tree ($
 X-CSetKey: <$CSETKEY>
 $BH
 Below is the list of changes that have just been committed into a local
-$VERSION repository of $USER. When $USER does a push these changes will
-be propagated to the main repository and, within 24 hours after the
+$VERSION repository of $COMMITTER.  When $COMMITTER does a push these changes
+will be propagated to the main repository and, within 24 hours after the
 push, to the public repository.
 For information on how to access the public repository
 see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
Thread
bk commit into 5.0 tree (jperkin:1.2604)Jonathan Perkin4 Dec