tests/test-obsolete.t
changeset 45155 a381618210d0
parent 44692 48b99af7b4b3
child 45156 c26335fa4225
--- a/tests/test-obsolete.t	Fri Jul 17 03:53:19 2020 -0700
+++ b/tests/test-obsolete.t	Fri Jul 17 07:59:20 2020 +0200
@@ -627,6 +627,26 @@
   abort: push includes orphan changeset: cda648ca50f5!
   [255]
 
+with --force it will work anyway
+
+  $ hg push ../tmpc/ --force
+  pushing to ../tmpc/
+  searching for changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 2 changesets with 2 changes to 2 files
+  1 new obsolescence markers
+  1 new orphan changesets
+
+if the orphan changeset is already on the server, pushing should work
+
+  $ hg push ../tmpc/
+  pushing to ../tmpc/
+  searching for changes
+  no changes found
+  [1]
+
 Test that extinct changeset are properly detected
 
   $ hg log -r 'extinct()'