mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
added logging for HgRepositoryHookEvent
This commit is contained in:
@@ -98,6 +98,18 @@ public class HgRepositoryHookEvent extends AbstractRepositoryHookEvent
|
||||
{
|
||||
boolean pending = type == RepositoryHookType.PRE_RECEIVE;
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
String pendingString = "";
|
||||
|
||||
if (pending)
|
||||
{
|
||||
pendingString = "pending ";
|
||||
}
|
||||
|
||||
logger.debug("load {}changesets for hook {}", type, pendingString);
|
||||
}
|
||||
|
||||
changesets = createChangesetViewer().getChangesets(startRev, REV_TIP,
|
||||
pending);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user