[Updated] D10347: test-copies: test that copies' sidedata does not get corrupted during pull

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Wed May 5 22:44:45 UTC 2021


Closed by commit rHG573d817bcc1f: test-copies: test that copies' sidedata does not get corrupted during pull (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10347?vs=27458&id=27611

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10347/new/

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

AFFECTED FILES
  tests/test-copies-chain-merge.t

CHANGE DETAILS

diff --git a/tests/test-copies-chain-merge.t b/tests/test-copies-chain-merge.t
--- a/tests/test-copies-chain-merge.t
+++ b/tests/test-copies-chain-merge.t
@@ -1,4 +1,4 @@
-#testcases filelog compatibility changeset sidedata upgraded upgraded-parallel
+#testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull
 
 =====================================================
 Test Copy tracing for chain of copies involving merge
@@ -57,6 +57,14 @@
   > EOF
 #endif
 
+#if pull
+  $ cat >> $HGRCPATH << EOF
+  > [format]
+  > exp-use-side-data = yes
+  > exp-use-copies-side-data-changeset = yes
+  > EOF
+#endif
+
 
   $ cat > same-content.txt << EOF
   > Here is some content that will be the same accros multiple file.
@@ -1690,6 +1698,21 @@
   
 #endif
 
+#if pull
+  $ cd ..
+  $ mv repo-chain repo-source
+  $ hg init repo-chain
+  $ cd repo-chain
+  $ hg pull ../repo-source
+  pulling from ../repo-source
+  requesting all changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 80 changesets with 44 changes to 25 files (+39 heads)
+  new changesets a3a31bbefea6:908ce9259ffa
+  (run 'hg heads' to see heads, 'hg merge' to merge)
+#endif
 
 #if no-compatibility no-filelog no-changeset
 



To: Alphare, #hg-reviewers, marmoute
Cc: marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210505/1fc265a6/attachment.html>


More information about the Mercurial-patches mailing list