Skip to content

Commit

Permalink
add tooltip support to the github hook
Browse files Browse the repository at this point in the history
  • Loading branch information
cotto committed Aug 31, 2010
1 parent 6400d3c commit 0ef5fd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github/hook.py
Expand Up @@ -105,6 +105,10 @@ def process(self, commit, status):
msg = "%s \n %s" % (msg, note)
author = commit['author']['name']
timestamp = datetime.now(utc)
if self.enable_revmap:
cursor = self.env.get_db_cnx().cursor()
cursor.execute("INSERT INTO svn_revmap (svn_rev, git_hash, commit_msg) VALUES (0, %s, %s);",
(commit['id'], commit['message'))

cmd_groups = command_re.findall(msg)
self.env.log.debug("Function Handlers: %s" % cmd_groups)
Expand Down

0 comments on commit 0ef5fd9

Please sign in to comment.