Patchwork [1,of,6,v3] hghave: update cvs112 description

login
register
mail settings
Submitter timeless@mozdev.org
Date April 4, 2016, 2:20 a.m.
Message ID <4c33ba40ce7602e76f85.1459736449@waste.org>
Download mbox | patch
Permalink /patch/14312/
State Accepted
Headers show

Comments

timeless@mozdev.org - April 4, 2016, 2:20 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1459516798 0
#      Fri Apr 01 13:19:58 2016 +0000
# Node ID 4c33ba40ce7602e76f85e069ec8eb999a10871ed
# Parent  ff0d3b6b287f89594bd8d0308fe2810d2a18ea01
hghave: update cvs112 description

Classic cvs stopped at 1.11.
There was a beta version 1.12 that never had a final release.
CVS NT is a fork which starts with versions numbered 2.0+.

We should have an hg have cvsnt, but to test that requires getting
cvsnt, and it's commercial / its older source versions are
hard to find.

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -111,7 +111,7 @@ 
     re = r'Concurrent Versions System.*?server'
     return matchoutput('cvs --version 2>&1', re) and not has_msys()
 
-@check("cvs112", "cvs client/server >= 1.12")
+@check("cvs112", "cvs client/server 1.12.* (not cvsnt)")
 def has_cvs112():
     re = r'Concurrent Versions System \(CVS\) 1.12.*?server'
     return matchoutput('cvs --version 2>&1', re) and not has_msys()