diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-09 13:28:30 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-09 13:28:30 -0400 |
commit | 6cc01e97fff6fcb933c3dba8fb008df9909bc390 (patch) | |
tree | 6b3df8f2be3e8b63f9d60926d01ca9fd77433d66 /doc/internals.mdwn | |
parent | 9eb26116e50bac830b0d944935fc471a5e501449 (diff) |
parse X in location log file as indicating a dead key
A dead key is both not present at the location that thinks it has a copy,
and also is assumed to probably not be present anywhere else. Although
there may be lurking disconnected repos that somehow still have a copy.
Suprisingly few changes needed for this! This is because the presence log
code only really concerns itself with keys that are present, and dead keys
are not present.
Note that both the location and web log can be parsed as having a dead key.
I don't see any value to having keys listed as dead in the web log, but
since it doesn't change any behavior, there was no point in not parsing it.
Diffstat (limited to 'doc/internals.mdwn')
-rw-r--r-- | doc/internals.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/internals.mdwn b/doc/internals.mdwn index 7e8f4b19a..c6dcb9621 100644 --- a/doc/internals.mdwn +++ b/doc/internals.mdwn @@ -171,8 +171,8 @@ for file contents. These are placed in two levels of subdirectories for hashing. See [[hashing]] for details. The name of the key is the filename, and the content -consists of a timestamp, either 1 (present) or 0 (not present), and -the UUID of the repository that has or lacks the file content. +consists of a timestamp, either 1 (present) or 0 (not present) or X (dead), +and the UUID of the repository that has or lacks the file content. Example: |