changeset 290:fd493de7a669

Dev: Debug print reporelpath() also for first inspection of subrepos
author Franz Glasner <hg@dom66.de>
date Tue, 22 Jan 2019 09:40:31 +0100
parents 986d1472580c
children 31d5d77c297d
files extensions/kwarchive.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/kwarchive.py	Sat Jan 19 22:51:19 2019 +0100
+++ b/extensions/kwarchive.py	Tue Jan 22 09:40:31 2019 +0100
@@ -371,7 +371,9 @@
         for subpath in sorted(ctx.substate):
             ui.write("SUBPATH: " + subpath + "\n");
             subrep = ctx.workingsub(subpath)
-            ui.write(repr(subrep) + " " + subrepo.subrelpath(subrep) + '\n');
+            ui.write(repr(subrep) + ": subrelpath=" + subrepo.subrelpath(subrep)
+                     + "reporelpath=" + subrepo.reporelpath(subrep._repo)
+                     + '\n')
 
 
 def patch_archiver_class(archivername, filter):