changeset 292:241b0b9eaa19

Debug output of the subrepo state also (subrepo.state())
author Franz Glasner <hg@dom66.de>
date Sun, 27 Jan 2019 15:39:03 +0100
parents 31d5d77c297d
children 75070825d111
files extensions/kwarchive.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/kwarchive.py	Wed Jan 23 09:35:44 2019 +0100
+++ b/extensions/kwarchive.py	Sun Jan 27 15:39:03 2019 +0100
@@ -372,6 +372,7 @@
 
 
 def _kwprint_subrepos(ctx, ui):
+    ui.write("STATE: " + repr(subrepo.state(ctx, ui)) + "\n")
     for subpath in sorted(ctx.substate):
         subrep = ctx.workingsub(subpath)
         subctx = subrep._getctx()
@@ -382,6 +383,7 @@
 
 
 def _test_subrepos(ctx, ui):
+    ui.write("STATE: " + repr(subrepo.state(ctx, ui)) + "\n")    
     for subpath in sorted(ctx.substate):
         ui.write("SUBPATH: " + subpath + "\n");
         subrep = ctx.workingsub(subpath)