clone-bundle: double check that inline clone bundle does not break local case
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jun 2023 16:13:16 +0200
changeset 50703 af60de30fb50
parent 50702 b11421f3daf9
child 50704 68c4f8f3c9f4
clone-bundle: double check that inline clone bundle does not break local case Since there is a large NotImplementedError in the code, I prefer we have a double check here.
tests/test-clonebundles.t
--- a/tests/test-clonebundles.t	Mon Jun 19 15:48:03 2023 +0200
+++ b/tests/test-clonebundles.t	Mon Jun 19 16:13:16 2023 +0200
@@ -269,6 +269,21 @@
   no changes found
   2 local changesets published
 
+
+Check local behavior
+--------------------
+
+We don't use the clone bundle, but we do not crash either.
+
+  $ hg clone -U ./server local-inline-clone-default
+  $ hg clone -U ./server local-inline-clone-pull --pull
+  requesting all changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 2 changesets with 2 changes to 2 files
+  new changesets 53245c60e682:aaff8d2ffbbf
+
 Pre-transmit Hook
 -----------------