comparison tests/test-clone.t @ 42419: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 e4ac7e63c213
children 34a46d48d24e
comparison
equal deleted inserted replaced
42418:9803323048b6 42419:69883775b27d
717 $ hg -R src log -q 717 $ hg -R src log -q
718 0:e1bab28bca43 718 0:e1bab28bca43
719 $ hg -R src debugrevlog -c | egrep 'format|flags' 719 $ hg -R src debugrevlog -c | egrep 'format|flags'
720 format : 0 720 format : 0
721 flags : (none) 721 flags : (none)
722 $ hg root -R src -T json | sed 's|\\\\|\\|g'
723 [
724 {
725 "hgpath": "$TESTTMP/src/.hg",
726 "reporoot": "$TESTTMP/src",
727 "storepath": "$TESTTMP/src/.hg"
728 }
729 ]
722 $ hg clone -U -q src dst 730 $ hg clone -U -q src dst
723 $ hg -R dst log -q 731 $ hg -R dst log -q
724 0:e1bab28bca43 732 0:e1bab28bca43
725 733
726 Create repositories to test auto sharing functionality 734 Create repositories to test auto sharing functionality