diff -r 0bd56c291359 -r 2ff8994ac71d contrib/synthrepo.py --- a/contrib/synthrepo.py Fri Jan 25 23:36:23 2019 -0800 +++ b/contrib/synthrepo.py Fri Jan 25 23:43:11 2019 -0800 @@ -349,7 +349,7 @@ # to the modeled directory structure. initcount = int(opts['initfiles']) if initcount and initdirs: - pctx = repo[None].p1() + pctx = repo['.'] dirs = set(pctx.dirs()) files = {}