changeset 44932:03ba7de6a8b9

git: add coverage for manifest.diff() so we don't regress
author Augie Fackler <augie@google.com>
date Wed, 03 Jun 2020 11:28:57 -0400
parents f294b4e14fd0
children 33ef8841da62
files tests/test-git-interop.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-git-interop.t	Mon Jun 01 11:12:25 2020 -0400
+++ b/tests/test-git-interop.t	Wed Jun 03 11:28:57 2020 -0400
@@ -253,3 +253,11 @@
 
 This coveres changelog.findmissing()
   $ hg merge --preview 3d9be8deba43
+
+This covers manifest.diff()
+  $ hg diff -c 3d9be8deba43
+  diff -r c5864c9d16fb -r 3d9be8deba43 beta
+  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+  +++ b/beta	Mon Jan 01 00:00:11 2007 +0000
+  @@ -0,0 +1,1 @@
+  +beta