* 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
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']]
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
[
'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',
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()