contrib/synthrepo.py
changeset 41398 2ff8994ac71d
parent 41397 0bd56c291359
child 43004 c07812bdd568
--- 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 = {}