changeset 2398:acd2431dff29

obscache: update the format to allow negative tiprev If the changelog is empty (but the obsstore is not) the 'tiprev' will be -1.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 02 May 2017 16:11:43 +0200
parents 54b2fddbc2f5
children 8534400111fd
files hgext3rd/evolve/obscache.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/obscache.py
+++ b/hgext3rd/evolve/obscache.py
@@ -187,7 +187,7 @@
     """
 
     _filepath = 'cache/evoext-obscache-00'
-    _headerformat = '>I20sQQ20s'
+    _headerformat = '>q20sQQ20s'
 
     def __init__(self, repo):
         self._vfs = repo.vfs