diff tests/test-dirstate-backup.t @ 49990:ffd19d73518d

test: create some history in test-dirstate-backup An empty repository, based on `null` is quite a corner cases. We create a more "natural" setup for this tests to make sure it can keep testing what it intend to test in the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 13 Feb 2023 23:56:13 +0100
parents 8d72e29ad1e0
children
line wrap: on
line diff
--- a/tests/test-dirstate-backup.t	Tue Feb 07 12:42:45 2023 +0100
+++ b/tests/test-dirstate-backup.t	Mon Feb 13 23:56:13 2023 +0100
@@ -2,6 +2,9 @@
 
   $ hg init repo
   $ cd repo
+  $ echo a > a
+  $ hg add a
+  $ hg commit -m a
 
 Try to import an empty patch