Use the latest transaction modification time fore the hash

This commit is contained in:
2023-01-27 16:13:16 +01:00
parent 8eaab28e2e
commit 21d145c9dd
2 changed files with 12 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ function GetRevisionHash($revision) {
$xaction = id(new DifferentialTransactionQuery())
->setViewer($viewer)
->withObjectPHIDs(array($revision->getPHID()))
->setOrder('newest')
->setOrder('updated')
->setLimit(1)
->executeOne();
@@ -405,7 +405,7 @@ function GetTaskHash($task) {
$xaction = id(new ManiphestTransactionQuery())
->setViewer($viewer)
->withObjectPHIDs(array($task->getPHID()))
->setOrder('newest')
->setOrder('updated')
->setLimit(1)
->executeOne();