Mercurial > hg
changeset 46738:b4ad45f2f648
tests: clarify some missing output in test-merge-subrepos
This makes the test behavior clearer, especially, why the output are
inconsistent.
Differential Revision: https://phab.mercurial-scm.org/D10136
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 08 Mar 2021 17:32:22 +0100 |
parents | e96a0a53de20 |
children | c184b490da37 |
files | tests/test-merge-subrepos.t |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-merge-subrepos.t Fri Mar 05 11:39:21 2021 +0100 +++ b/tests/test-merge-subrepos.t Mon Mar 08 17:32:22 2021 +0100 @@ -117,10 +117,17 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved XXX: There's a difference between wdir() and '.', so there should be a status. -`hg files -S` from the top is also missing 'subrepo/b'. +`hg files -S` from the top is also missing 'subrepo/b'. The files should be +seen as deleted (and, maybe even missing? in which case `hg files` should list +it) $ hg st -S + R subrepo/b (missing-correct-output !) $ hg st -R subrepo + R subrepo/b (missing-correct-output !) + +(note: return [1] because no files "match" since the list is empty) + $ hg files -R subrepo [1] $ hg files -R subrepo -r '.'