diff --git a/src/applications/diffusion/query/lastmodified/DiffusionMercurialLastModifiedQuery.php b/src/applications/diffusion/query/lastmodified/DiffusionMercurialLastModifiedQuery.php index 728814b0ab..5a5f686351 100644 --- a/src/applications/diffusion/query/lastmodified/DiffusionMercurialLastModifiedQuery.php +++ b/src/applications/diffusion/query/lastmodified/DiffusionMercurialLastModifiedQuery.php @@ -9,11 +9,9 @@ final class DiffusionMercurialLastModifiedQuery $path = $drequest->getPath(); - // TODO: Share some of this with History query. list($hash) = $repository->execxLocalCommand( - 'log --template %s --limit 1 -b %s --rev %s:0 -- %s', + 'log --template %s --limit 1 --rev %s:0 -- %s', '{node}', - $drequest->getBranch(), $drequest->getCommit(), nonempty(ltrim($path, '/'), '.'));