]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: follow gnulib-tool changes, part 5
authorBruno Haible <bruno@clisp.org>
Fri, 8 Sep 2017 23:04:08 +0000 (01:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 9 Sep 2017 14:28:59 +0000 (16:28 +0200)
Follow gnulib-tool change
2013-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
Assume gnulib is checked out from Git, not CVS

ChangeLog
pygnulib/GLInfo.py
pygnulib/GLModuleSystem.py
pygnulib/GLTestDir.py

index a7f381dda2df7c2018257ba57cdd681ee8c7c3cb..9de3f0cae0fe1b8b9b9e1da540f599ba85c1256f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13635,7 +13635,7 @@ o       Test only that noncanonical values do not cause crashes, not that
        * modules/renameat: Likewise.  Also delete fstat.
        URL: http://bugs.gentoo.org/468790
 
-2012-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
+2013-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Assume gnulib is checked out from Git, not CVS
 
index baec6af989e9e420df8aaf020e7ce95ee2e2ce8b..f992ba687f1f89fc775c6777cf43b39e9a24cab7 100644 (file)
@@ -291,7 +291,7 @@ Report bugs to <bug-gnulib@gnu.org>.'''
         return(result)
 
     def version(self):
-        '''Return formatted string which contains git or CVS version.'''
+        '''Return formatted string which contains git version.'''
         if isdir(DIRS['git']):
             version_gen = joinpath(DIRS['build-aux'], 'git-version-gen')
             args = [version_gen, DIRS['root']]
index 2a2c8cd50dad60fb1df377da9c5fc562f0b33508..6dab6dd56ebe3f494aed39f3adf17e24916eda63 100644 (file)
@@ -84,7 +84,7 @@ class GLModuleSystem(object):
             raise(TypeError(
                 'module must be a string, not %s' % type(module).__name__))
         result = bool()
-        badnames = ['CVS', 'ChangeLog', 'COPYING', 'README', 'TEMPLATE',
+        badnames = ['ChangeLog', 'COPYING', 'README', 'TEMPLATE',
                     'TEMPLATE-EXTENDED', 'TEMPLATE-TESTS']
         if isfile(joinpath(DIRS['modules'], module)) or \
                 all([  # Begin all(iterable) function
@@ -132,8 +132,6 @@ class GLModuleSystem(object):
             [
                 'sed',
                 '-e', r's,^modules/,,',
-                '-e', r'/^CVS\//d',
-                '-e', r'/\/CVS\//d',
                 '-e', r'/^ChangeLog$/d',
                 '-e', r'/\/ChangeLog$/d',
                 '-e', r'/^COPYING$/d',
index 2937b5da4a006be83cb437f96f3c5cb17f1ae8f8..8e49a91f2534d97a8830e1bc1485658feb565e68 100644 (file)
@@ -907,11 +907,7 @@ class GLMegaTestDir(object):
         repdict['Oct'] = repdict['October'] = '10'
         repdict['Nov'] = repdict['November'] = '11'
         repdict['Dec'] = repdict['December'] = '12'
-        if isfile(joinpath(DIRS['root'], 'CVS', 'Entries')):
-            vc_witness = joinpath(DIRS['root'], 'CVS', 'Entries')
-        else:  # if not isfile(joinpath(DIRS['root'], 'CVS', 'Entries'))
-            vc_witness = joinpath(
-                DIRS['root'], '.git', 'refs', 'heads', 'master')
+        vc_witness = joinpath(DIRS['root'], '.git', 'refs', 'heads', 'master')
         mdate_sh = joinpath(DIRS['root'], 'build-aux', 'mdate-sh')
         args = ['sh', mdate_sh, vc_witness]
         cvsdate = sp.check_output(args).decode("UTF-8").strip()