# HG changeset patch # User Pierre-Yves David # Date 1493734303 -7200 # Node ID acd2431dff29adeb09587022c8dcbc117374713b # Parent 54b2fddbc2f584713cc6c3913549c3f35be5bddf obscache: update the format to allow negative tiprev If the changelog is empty (but the obsstore is not) the 'tiprev' will be -1. diff -r 54b2fddbc2f5 -r acd2431dff29 hgext3rd/evolve/obscache.py --- a/hgext3rd/evolve/obscache.py Tue May 02 16:09:03 2017 +0200 +++ b/hgext3rd/evolve/obscache.py Tue May 02 16:11:43 2017 +0200 @@ -187,7 +187,7 @@ """ _filepath = 'cache/evoext-obscache-00' - _headerformat = '>I20sQQ20s' + _headerformat = '>q20sQQ20s' def __init__(self, repo): self._vfs = repo.vfs