Bug 915848 - copy modified check_spidermonkey_style.py to satisfy check-sync-dirs.py; r=bustage
authorNathan Froyd <froydnj@mozilla.com>
Fri, 13 Sep 2013 07:22:58 -0400
changeset 147013 5c3ca75fd097718a9cb36aff773b2cff87f5cf5a
parent 147012 3c809ee6b5afe93085b92ea438fcf875ee3227b6
child 147014 8e7f32d51a72d540d9451b30c7c7b457cc1b720a
push id25283
push userryanvm@gmail.com
push dateFri, 13 Sep 2013 20:07:11 +0000
treeherdermozilla-central@7dbdc0fbda87 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs915848
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 915848 - copy modified check_spidermonkey_style.py to satisfy check-sync-dirs.py; r=bustage
config/check_spidermonkey_style.py
--- a/config/check_spidermonkey_style.py
+++ b/config/check_spidermonkey_style.py
@@ -212,17 +212,17 @@ class FileKind(object):
         if filename.endswith('.msg'):
             return FileKind.MSG
 
         error(filename, None, 'unknown file kind')
 
 
 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,
                                                     stderr=subprocess.PIPE).split('\n')
             return all_filenames
         except:
             continue
     else: