invalidate caches after log changes
This seems like something Annex.Sim would need to happen. And generally a really good idea.
This commit is contained in:
parent
f5f7b4a936
commit
a194e88a62
4 changed files with 10 additions and 2 deletions
|
@ -39,6 +39,7 @@ describeUUID uuid desc = do
|
|||
c <- currentVectorClock
|
||||
Annex.Branch.change (Annex.Branch.RegardingUUID [uuid]) uuidLog $
|
||||
buildLogOld builder . changeLog c uuid desc . parseUUIDLog
|
||||
Annex.changeState $ \s -> s { Annex.uuiddescmap = Nothing }
|
||||
where
|
||||
builder (UUIDDesc b) = byteString (escnewline b)
|
||||
-- Escape any newline in the description, since newlines cannot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue