Mercurial > public > mercurial-scm > hg
diff tests/test-subrepo-deep-nested-change.t @ 33545:8074e2d006c0
archive: add an experimental config to control the metadata file template
Experimental because given the possible complexity, it may be worth figuring out
how to load this from a file, similar to the style files for the log command,
instead of trying to stuff it on the command line.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 17 Jul 2017 00:49:29 -0400 |
parents | bf2daeddd42b |
children | 0e4bed5c5c38 |
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t Sun Jul 16 17:40:36 2017 -0400 +++ b/tests/test-subrepo-deep-nested-change.t Mon Jul 17 00:49:29 2017 -0400 @@ -263,6 +263,12 @@ $ hg update -Cq . $ rm -r ../wdir + $ hg archive -S -qr 'wdir()' ../wdir \ + > --config 'experimental.archivemetatemplate=archived {node|short}\n' + $ cat ../wdir/.hg_archival.txt + archived ffffffffffff + $ rm -r ../wdir + .. but first take a detour through some deep removal testing $ hg remove -S -I 're:.*.txt' .