Patchwork [8,of,8,V2] test-obsolete-bundle-strip: test bundling in the seventh case

login
register
mail settings
Submitter Pierre-Yves David
Date May 28, 2017, 10:54 p.m.
Message ID <f91c2256db9f4c8a3cda.1496012075@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/21013/
State Accepted
Headers show

Comments

Pierre-Yves David - May 28, 2017, 10:54 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1495762870 -7200
#      Fri May 26 03:41:10 2017 +0200
# Node ID f91c2256db9f4c8a3cda4b11b0adfa30fe3a74ea
# Parent  d617d8aa1ea3348d7db9cf0b8f5a8204efbdc2f7
# EXP-Topic obsstrip
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r f91c2256db9f
test-obsolete-bundle-strip: test bundling in the seventh case

Updating all cases in the file at the same time is a bit overwhelming and harder
to double check. So each case come in its own patch.
Sean Farley - June 1, 2017, 4:50 a.m.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> writes:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@octobus.net>
> # Date 1495762870 -7200
> #      Fri May 26 03:41:10 2017 +0200
> # Node ID f91c2256db9f4c8a3cda4b11b0adfa30fe3a74ea
> # Parent  d617d8aa1ea3348d7db9cf0b8f5a8204efbdc2f7
> # EXP-Topic obsstrip
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r f91c2256db9f
> test-obsolete-bundle-strip: test bundling in the seventh case
>
> Updating all cases in the file at the same time is a bit overwhelming and harder
> to double check. So each case come in its own patch.

If this is going where I think it's going, then this is great! This
series seems good to me, so I've gone ahead and queued it.

Patch

diff --git a/tests/test-obsolete-bundle-strip.t b/tests/test-obsolete-bundle-strip.t
--- a/tests/test-obsolete-bundle-strip.t
+++ b/tests/test-obsolete-bundle-strip.t
@@ -780,7 +780,23 @@  setup
 
 Actual testing
 --------------
-  $ hg debugobsolete --rev 'desc("C-A")'
-  cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
-  $ hg debugobsolete --hidden --rev 'desc("C-B")'
-  cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
+  $ testrevs 'desc("C-A")'
+  ### Matched revisions###
+  9ac430e15fca: C-A
+  ### Relevant markers ###
+      cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
+  # bundling: 1 changesets found
+  ### Bundled markers ###
+      cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
+  ### diff <relevant> <bundled> ###
+  #################################
+  $ testrevs 'desc("C-B")'
+  ### Matched revisions###
+  cefb651fc2fd: C-B
+  ### Relevant markers ###
+      cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
+  # bundling: 1 changesets found
+  ### Bundled markers ###
+      cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
+  ### diff <relevant> <bundled> ###
+  #################################