tests: demonstrate broken copies._fullcopytracing() stable
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 01 Nov 2018 16:28:11 -0700
branchstable
changeset 40449 d049ee8eee00
parent 40448 873f3682c8af
child 40450 07a66c1387d1
tests: demonstrate broken copies._fullcopytracing() Turns out copies._fullcopytracing() was also broken. Differential Revision: https://phab.mercurial-scm.org/D5212
tests/test-narrow-copies.t
--- 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]