D4822: tests: add test showing that paths outside narrowspec are not added

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Oct 1 13:14:43 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG277a6fb460a6: tests: add test showing that paths outside narrowspec are not added (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4822?vs=11525&id=11530

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

AFFECTED FILES
  tests/test-narrow-commit.t

CHANGE DETAILS

diff --git a/tests/test-narrow-commit.t b/tests/test-narrow-commit.t
--- a/tests/test-narrow-commit.t
+++ b/tests/test-narrow-commit.t
@@ -53,6 +53,7 @@
   * matcher:
   <includematcher includes='(?:(?:|.*/)f1(?:/|$))'>
   f  inside/f1  inside/f1
+  $ hg add .
   $ hg add outside/f1
   abort: cannot track 'outside/f1' - it is outside the narrow clone
   [255]



To: martinvonz, durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list