more svn->git transition
This commit is contained in:
parent
06e2baf945
commit
53c9fa59cb
@ -14,7 +14,7 @@ profile=no
|
||||
# Add <file or directory> to the black list. It should be a base name, not a
|
||||
# path. You may set this option multiple times.
|
||||
ignore=
|
||||
.svn, _tdi_impl.so
|
||||
.git, .svn, _tdi_impl.so
|
||||
|
||||
# Pickle collected data for later comparisons.
|
||||
persistent=no
|
||||
|
@ -97,7 +97,7 @@ class Data(object):
|
||||
result = []
|
||||
for filename in files.files:
|
||||
_, elems = splitpath(filename)
|
||||
if '.svn' in elems:
|
||||
if '.svn' in elems or '.git' in elems:
|
||||
continue
|
||||
result.append(filename)
|
||||
return cls(result, **kwargs)
|
||||
|
@ -182,7 +182,7 @@ def find_packages(manifest):
|
||||
sep = _os.path.join('1', '2')[1:-1]
|
||||
for root in collect:
|
||||
for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
|
||||
if dirpath.find('.svn') >= 0:
|
||||
if dirpath.find('.svn') >= 0 or dirpath.find('.git') >= 0:
|
||||
continue
|
||||
if '__init__.py' in filenames:
|
||||
packages[
|
||||
|
@ -399,7 +399,7 @@ except AttributeError:
|
||||
yield top, dirs, nondirs
|
||||
|
||||
|
||||
def files(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
def files(base, wildcard='[!.]*', recursive=1, prune=('.git', '.svn', 'CVS')):
|
||||
""" Determine a filelist """
|
||||
for dirpath, dirnames, filenames in walk(native(base)):
|
||||
for item in prune:
|
||||
@ -425,7 +425,7 @@ def files(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
dirnames.sort()
|
||||
|
||||
|
||||
def dirs(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
def dirs(base, wildcard='[!.]*', recursive=1, prune=('.git', '.svn', 'CVS')):
|
||||
""" Determine a filelist """
|
||||
for dirpath, dirnames, filenames in walk(native(base)):
|
||||
for item in prune:
|
||||
|
@ -97,7 +97,7 @@ class Data(object):
|
||||
result = []
|
||||
for filename in files.files:
|
||||
_, elems = splitpath(filename)
|
||||
if '.svn' in elems:
|
||||
if '.svn' in elems or '.git' in elems:
|
||||
continue
|
||||
result.append(filename)
|
||||
return cls(result, **kwargs)
|
||||
|
@ -183,7 +183,7 @@ def find_packages(manifest):
|
||||
sep = _os.path.join('1', '2')[1:-1]
|
||||
for root in collect:
|
||||
for dirpath, _, filenames in _shell.walk(_os.path.join(lib, root)):
|
||||
if dirpath.find('.svn') >= 0:
|
||||
if dirpath.find('.svn') >= 0 or dirpath.find('.git') >= 0:
|
||||
continue
|
||||
if '__init__.py' in filenames:
|
||||
packages[
|
||||
|
@ -272,7 +272,7 @@ def spawn(*argv, **kwargs):
|
||||
walk = _os.walk
|
||||
|
||||
|
||||
def files(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
def files(base, wildcard='[!.]*', recursive=1, prune=('.git', '.svn', 'CVS')):
|
||||
""" Determine a filelist """
|
||||
for dirpath, dirnames, filenames in walk(native(base)):
|
||||
for item in prune:
|
||||
@ -298,7 +298,7 @@ def files(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
dirnames.sort()
|
||||
|
||||
|
||||
def dirs(base, wildcard='[!.]*', recursive=1, prune=('.svn', 'CVS')):
|
||||
def dirs(base, wildcard='[!.]*', recursive=1, prune=('.git', '.svn', 'CVS')):
|
||||
""" Determine a filelist """
|
||||
for dirpath, dirnames, filenames in walk(native(base)):
|
||||
for item in prune:
|
||||
|
Loading…
Reference in New Issue
Block a user