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

Siddharth Agarwal sid0 at fb.com
Fri Mar 29 21:58:26 CDT 2013


# HG changeset patch
# User Siddharth Agarwal <sid0 at 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.

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
 


More information about the Mercurial-devel mailing list