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:15:30 EDT 2018
martinvonz updated this revision to Diff 11533.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4822?vs=11530&id=11533
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