branch: elpa/hyperdrive
commit b09916654d12524c4a536732267b4a010806f191
Author: Joseph Turner <jos...@ushin.org>
Commit: Joseph Turner <jos...@ushin.org>

    Comment: Add TODO
---
 hyperdrive.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hyperdrive.el b/hyperdrive.el
index 0e0d770ad1..8648114d53 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -520,6 +520,12 @@ use, see `hyperdrive-write'."
                   ;; NOTE: `h/fill-latest-version' must come before
                   ;; `h//fill' because the latter calls
                   ;; `h/update-existent-version-range' internally.
+
+                  ;; TODO: Instead of calling `h/fill-latest-version', we 
should
+                  ;; set the hyperdrive's `latest-version' to the Etag of the
+                  ;; PUT response header, since a successful PUT can only 
happen
+                  ;; on the latest version of the hyperdrive.
+
                   (h/fill-latest-version hyperdrive)
                   (h//fill entry (plz-response-headers response))
                   ;; PUT responses only include ETag and Last-Modified

Reply via email to