diff tests/test-basic.t @ 42436:69883775b27d

root: add template variables pointing to repository directories These paths are useful for GUI applications to detect changes. A GUI process typically monitors .hg and .hg/store directories so that it will be notified on lock/wlock deletion. Alternatively, maybe we can add debugpaths command if we don't want to extend the root command. I'm not sure which will be nicer.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 04 Jun 2019 21:13:35 +0900
parents 9803323048b6
children 21733e8c924f
line wrap: on
line diff
--- a/tests/test-basic.t	Tue Jun 04 20:58:39 2019 +0900
+++ b/tests/test-basic.t	Tue Jun 04 21:13:35 2019 +0900
@@ -101,7 +101,9 @@
   $ hg root -Tjson | sed 's|\\\\|\\|g'
   [
    {
-    "reporoot": "$TESTTMP/t"
+    "hgpath": "$TESTTMP/t/.hg",
+    "reporoot": "$TESTTMP/t",
+    "storepath": "$TESTTMP/t/.hg/store"
    }
   ]