Patchwork [3,of,4] test-hook.t: remove prelistkeys.forbid hook before moving on

login
register
mail settings
Submitter Siddharth Agarwal
Date March 30, 2013, 2:58 a.m.
Message ID <16a8db1339b1dc7734fe.1364612306@sid0x220>
Download mbox | patch
Permalink /patch/1228/
State Accepted
Commit 442c0cb8287a23572691429c11820104e57b47c0
Headers show

Comments

Siddharth Agarwal - March 30, 2013, 2:58 a.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@fb.com>
# Date 1364611922 25200
#      Fri Mar 29 19:52:02 2013 -0700
# Node ID 16a8db1339b1dc7734fefdaca99beb3a3fa14d49
# Parent  63ce26ea16fcdb94b02b4c4e51edb6d30c4b7dbb
test-hook.t: remove prelistkeys.forbid hook before moving on

An upcoming patch will change the order of operations and perform a listkeys
before a changegroup fetch. This will cause a few tests to print out the wrong
error message.

Patch

diff --git a/tests/test-hook.t b/tests/test-hook.t
--- a/tests/test-hook.t
+++ b/tests/test-hook.t
@@ -232,6 +232,7 @@  test that prelistkeys can prevent listin
   abort: prelistkeys hook exited with status 1
   [255]
   $ cd ../a
+  $ rm .hg/hgrc
 
 prechangegroup hook can prevent incoming changes