changeset 40449:d049ee8eee00 stable

tests: demonstrate broken copies._fullcopytracing() Turns out copies._fullcopytracing() was also broken. Differential Revision: https://phab.mercurial-scm.org/D5212
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 01 Nov 2018 16:28:11 -0700
parents 873f3682c8af
children 07a66c1387d1
files tests/test-narrow-copies.t
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-narrow-copies.t	Thu Nov 01 13:20:12 2018 -0700
+++ b/tests/test-narrow-copies.t	Thu Nov 01 16:28:11 2018 -0700
@@ -63,3 +63,13 @@
   $ hg --config extensions.rebase= rebase -d tip
   rebasing 3:4f84b666728c "add inside/f4"
   saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/4f84b666728c-4269b76e-rebase.hg
+
+  $ hg co -q 0
+  $ echo modified > inside/f1
+  $ hg ci -qm 'modify inside/f1'
+  $ echo new > inside/f5
+  $ hg ci -Aqm 'add inside/f5'
+  $ hg --config extensions.rebase= rebase -d 'public()' -r .
+  rebasing 6:610b60178c28 "add inside/f5" (tip)
+  abort: data/outside/f3.i@54e53435331b: no match found!
+  [255]