D5202: tests: demonstrate broken copies.pathcopies()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Nov 1 17:19:25 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf1c1b4d0e695: tests: demonstrate broken copies.pathcopies() (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5202?vs=12357&id=12366

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

AFFECTED FILES
  tests/test-narrow-copies.t

CHANGE DETAILS

diff --git a/tests/test-narrow-copies.t b/tests/test-narrow-copies.t
--- a/tests/test-narrow-copies.t
+++ b/tests/test-narrow-copies.t
@@ -18,10 +18,12 @@
   $ echo modified > inside/f2
   $ hg ci -qm 'modify inside/f2'
 
+  $ mkdir outside
+  $ echo new > outside/f3
+  $ hg ci -Aqm 'add outside/f3'
   $ cd ..
 
-  $ hg clone --narrow ssh://user@dummy/master narrow --include inside
-  requesting all changes
+  $ hg clone --narrow ssh://user@dummy/master narrow --include inside -r 2
   adding changesets
   adding manifests
   adding file changes
@@ -55,3 +57,10 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     move f2 from outside
   
+  $ echo new > inside/f4
+  $ hg ci -Aqm 'add inside/f4'
+  $ hg pull -q
+  $ hg --config extensions.rebase= rebase -d tip
+  rebasing 3:4f84b666728c "add inside/f4"
+  abort: data/outside/f3.i at 54e53435331b: no match found!
+  [255]



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


More information about the Mercurial-devel mailing list