Show More
@@ -40,7 +40,7 b' def _filename(repo):' | |||
|
40 | 40 | def read(repo): |
|
41 | 41 | try: |
|
42 | 42 | f = repo.cachevfs(_filename(repo)) |
|
43 | cachekey = next(f).split(" ", 2) | |
|
43 | cachekey = next(f).rstrip('\n').split(" ", 2) | |
|
44 | 44 | last, lrev = cachekey[:2] |
|
45 | 45 | last, lrev = bin(last), int(lrev) |
|
46 | 46 | filteredhash = None |
@@ -53,6 +53,7 b' def read(repo):' | |||
|
53 | 53 | raise ValueError(r'tip differs') |
|
54 | 54 | cl = repo.changelog |
|
55 | 55 | for l in f: |
|
56 | l = l.rstrip('\n') | |
|
56 | 57 | if not l: |
|
57 | 58 | continue |
|
58 | 59 | node, state, label = l.split(" ", 2) |
General Comments 0
You need to be logged in to leave comments.
Login now