Bug 915848 - copy modified check_spidermonkey_style.py to satisfy check-sync-dirs.py; r=bustage

This commit is contained in:
Nathan Froyd 2013-09-13 07:22:58 -04:00
parent cb34ce5d29
commit 21dab51e63

View File

@ -217,7 +217,7 @@ class FileKind(object):
def get_all_filenames():
'''Get a list of all the files in the (Mercurial or Git) repository.'''
cmds = [['hg', 'manifest', '-q'], ['git', 'ls-files']]
cmds = [['hg', 'manifest', '-q'], ['git', 'ls-files', '--full-name', '../..']]
for cmd in cmds:
try:
all_filenames = subprocess.check_output(cmd, universal_newlines=True,