From 3874db4fb7f99d29174e6f16e2e286d0789046d0 Mon Sep 17 00:00:00 2001
From: Graham Christensen <graham@grahamc.com>
Date: Mon, 10 Jan 2022 10:53:16 -0500
Subject: [PATCH] PathInput: make the hash part of the revision

---
 src/lib/Hydra/Plugin/PathInput.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/Hydra/Plugin/PathInput.pm b/src/lib/Hydra/Plugin/PathInput.pm
index e7d98da2..d122ff57 100644
--- a/src/lib/Hydra/Plugin/PathInput.pm
+++ b/src/lib/Hydra/Plugin/PathInput.pm
@@ -78,7 +78,7 @@ sub fetchInput {
         { uri => $uri
         , storePath => $storePath
         , sha256hash => $sha256
-        , revision => strftime "%Y%m%d%H%M%S", gmtime($timestamp)
+        , revision => (strftime "%Y%m%d%H%M%S", gmtime($timestamp))  . ':' .  $sha256
         };
 }