mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
fetch pending commits only on pre-receive hooks
This commit is contained in:
@@ -96,8 +96,10 @@ public class HgRepositoryHookEvent extends AbstractRepositoryHookEvent
|
||||
{
|
||||
try
|
||||
{
|
||||
boolean pending = type == RepositoryHookType.PRE_RECEIVE;
|
||||
|
||||
changesets = createChangesetViewer().getChangesets(startRev, REV_TIP,
|
||||
true);
|
||||
pending);
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user