author | Anthony Jones <ajones@mozilla.com> |
Thu, 30 Jan 2014 14:27:44 +1300 | |
changeset 165923 | 4a77a99c84d52788958b2647d82b8bd8bc010cdb |
parent 165922 | d44de38ad97f2aaeb289ca3d90cd956845d39c4c |
child 165924 | f99313fc00b5823ce92ba4671727c7209d692389 |
push id | 26106 |
push user | cbook@mozilla.com |
push date | Thu, 30 Jan 2014 09:58:18 +0000 |
treeherder | mozilla-central@5e5c681eee98 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | gps |
bugs | 965120 |
milestone | 29.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
|
.clang-format | file | annotate | diff | comparison | revisions | |
.clang-format-ignore | file | annotate | diff | comparison | revisions | |
tools/mach_commands.py | file | annotate | diff | comparison | revisions |
--- a/tools/mach_commands.py +++ b/tools/mach_commands.py @@ -351,17 +351,17 @@ class FormatProvider(MachCommandBase): except urllib2.HTTPError as e: print("HTTP error {0}: {1}".format(e.code, e.reason)) return 1 from subprocess import Popen, PIPE p1 = Popen(["hg", "diff", "-U0", "-r", "tip^", "--include", "glob:**.c", "--include", "glob:**.cpp", "--include", "glob:**.h", "--exclude", "listfile:.clang-format-ignore"], stdout=PIPE) - args = [sys.executable, clang_format_diff, "-p1", "-style=Mozilla"] + args = [sys.executable, clang_format_diff, "-p1"] if not show: args.append("-i") p2 = Popen(args, stdin=p1.stdout) return p2.communicate()[0] def locate_or_fetch(self, root): target = os.path.join(self._mach_context.state_dir, os.path.basename(root)) if not os.path.exists(target):