[Commented On] D10136: tests: clarify some missing output in test-merge-subrepos
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Mon Mar 15 13:12:03 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 26342.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10136?vs=26195&id=26342
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10136/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10136
AFFECTED FILES
tests/test-merge-subrepos.t
CHANGE DETAILS
diff --git a/tests/test-merge-subrepos.t b/tests/test-merge-subrepos.t
--- a/tests/test-merge-subrepos.t
+++ b/tests/test-merge-subrepos.t
@@ -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 '.'
To: SimonSapin, #hg-reviewers, Alphare
Cc: Alphare, marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210315/99668aef/attachment-0002.html>
More information about the Mercurial-patches
mailing list