mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +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;
|
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,
|
changesets = createChangesetViewer().getChangesets(startRev, REV_TIP,
|
||||||
pending);
|
pending);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user