[PATCH] test-revset: update test that isn't broken on default branch

Yuya Nishihara yuya at tcha.org
Tue May 26 14:56:52 UTC 2015


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1432649690 -32400
#      Tue May 26 23:14:50 2015 +0900
# Node ID e43162c556830f24e7de564786bded96fecdc947
# Parent  61b3529e23778f542044d24bb1ccd5688516a7f0
test-revset: update test that isn't broken on default branch

"X or wdir()" just works because the default branch includes 40a2cf1c765b.

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -708,9 +708,9 @@ BROKEN: should be '-1'
 Test working-directory revision
   $ hg debugrevspec 'wdir()'
   None
-BROKEN: should include 'None'
   $ hg debugrevspec 'tip or wdir()'
   9
+  None
   $ hg debugrevspec '0:tip and wdir()'
 
   $ log 'outgoing()'


More information about the Mercurial-devel mailing list