projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start on a tool to rebuild the local database if it is lost.
[cumulus.git]
/
python
/
cumulus
/
__init__.py
diff --git
a/python/cumulus/__init__.py
b/python/cumulus/__init__.py
index
a40c58d
..
d86d5ed
100644
(file)
--- a/
python/cumulus/__init__.py
+++ b/
python/cumulus/__init__.py
@@
-191,7
+191,7
@@
class ObjectStore:
def parse_ref(refstr):
m = re.match(r"^zero\[(\d+)\]$", refstr)
if m:
def parse_ref(refstr):
m = re.match(r"^zero\[(\d+)\]$", refstr)
if m:
- return ("zero", None, None, (0, int(m.group(1))))
+ return ("zero", None, None, (0, int(m.group(1))
, False
))
m = re.match(r"^([-0-9a-f]+)\/([0-9a-f]+)(\(\S+\))?(\[(((\d+)\+)?(\d+)|=(\d+))\])?$", refstr)
if not m: return
m = re.match(r"^([-0-9a-f]+)\/([0-9a-f]+)(\(\S+\))?(\[(((\d+)\+)?(\d+)|=(\d+))\])?$", refstr)
if not m: return