changeset 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 93d72a7dd486
children 3997c64eff8b
files tests/test-dirstate-backup.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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