changeset 50703:af60de30fb50

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Jun 2023 16:13:16 +0200
parents b11421f3daf9
children 68c4f8f3c9f4
files tests/test-clonebundles.t
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 -----------------