Patchwork [2,of,7,STABLE] test: remove dead code in the bookrace extension

login
register
mail settings
Submitter Pierre-Yves David
Date June 21, 2019, 2:04 a.m.
Message ID <c3ee35c586f85011ed7c.1561082649@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/40642/
State Accepted
Headers show

Comments

Pierre-Yves David - June 21, 2019, 2:04 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1560915944 -7200
#      Wed Jun 19 05:45:44 2019 +0200
# Branch stable
# Node ID c3ee35c586f85011ed7c8afad55a2e7d3ec7027b
# Parent  3d90d0a9501c59c57e3d9bb4f545c10cf1a440f5
# EXP-Topic book-del-stable
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r c3ee35c586f8
test: remove dead code in the bookrace extension

This code is the remain of a previous version of the code. It is never ran, so
we can remove it.

Patch

diff --git a/tests/test-bookmarks-corner-case.t b/tests/test-bookmarks-corner-case.t
--- a/tests/test-bookmarks-corner-case.t
+++ b/tests/test-bookmarks-corner-case.t
@@ -132,8 +132,6 @@  We build a server side extension for thi
   >             raise error.Abort("race scenario timed out")
   >         time.sleep(0.1)
   >     return orig(self, repo)
-  > 
-  >     repo.__class__ = racedrepo
   > def uisetup(ui):
   >     extensions.wrapfunction(bookmarks.bmstore, '__init__', wrapinit)
   > def e():