##// END OF EJS Templates
git: consistently use str for parents when rebuilding the index database...
Matt Harbison -
r47825:de26b9a7 stable
parent child Browse files
Show More
@@ -6,7 +6,6 b' import sqlite3'
6
6
7 from mercurial.i18n import _
7 from mercurial.i18n import _
8 from mercurial.node import (
8 from mercurial.node import (
9 nullhex,
10 nullid,
9 nullid,
11 )
10 )
12
11
@@ -281,7 +280,7 b' def _index_repo('
281 for pos, commit in enumerate(walker):
280 for pos, commit in enumerate(walker):
282 if prog is not None:
281 if prog is not None:
283 prog.update(pos)
282 prog.update(pos)
284 p1 = p2 = nullhex
283 p1 = p2 = gitutil.nullgit
285 if len(commit.parents) > 2:
284 if len(commit.parents) > 2:
286 raise error.ProgrammingError(
285 raise error.ProgrammingError(
287 (
286 (
General Comments 0
You need to be logged in to leave comments. Login now