contrib/synthrepo.py
changeset 41397 0bd56c291359
parent 41365 876494fd967d
child 41398 2ff8994ac71d
--- a/contrib/synthrepo.py	Mon Jan 21 15:29:14 2019 +0000
+++ b/contrib/synthrepo.py	Fri Jan 25 23:36:23 2019 -0800
@@ -349,7 +349,7 @@
     # to the modeled directory structure.
     initcount = int(opts['initfiles'])
     if initcount and initdirs:
-        pctx = repo[None].parents()[0]
+        pctx = repo[None].p1()
         dirs = set(pctx.dirs())
         files = {}