Patchwork D7489: repoview: add test for filtering computation when running `hg status`

login
register
mail settings
Submitter phabricator
Date Nov. 22, 2019, 9:22 a.m.
Message ID <differential-rev-PHID-DREV-je4dlenu6vk6tdc7nk2p-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43421/
State Superseded
Headers show

Comments

phabricator - Nov. 22, 2019, 9:22 a.m.
marmoute created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7489

AFFECTED FILES
  tests/test-repo-filters-tiptoe.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-devel
phabricator - Nov. 23, 2019, 1:06 p.m.
marmoute added a comment.
marmoute abandoned this revision.


  This was pruned, but phab apparently does not detect this.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7489/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7489

To: marmoute, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-repo-filters-tiptoe.t b/tests/test-repo-filters-tiptoe.t
--- a/tests/test-repo-filters-tiptoe.t
+++ b/tests/test-repo-filters-tiptoe.t
@@ -46,8 +46,6 @@ 
 
 Getting the node of `null`
 
-  $ hg init test-repo
-  $ cd test-repo
   $ hg log -r null -T "{node}\n"
   0000000000000000000000000000000000000000
 
@@ -60,3 +58,12 @@ 
 Getting status of null
 
   $ hg status --change null
+
+Getting status of working copy
+
+  $ hg status
+  debug.filters: computing revision filter for "visible"
+  M c
+  A d
+  R a
+  ! b