Revision: 18538
Author:   [email protected]
Date:     Fri Jan 10 13:48:43 2014 UTC
Log:      Add more temporary debugging output to PRESUBMIT.py

[email protected]

Review URL: https://codereview.chromium.org/133863002
http://code.google.com/p/v8/source/detail?r=18538

Modified:
 /branches/bleeding_edge/PRESUBMIT.py

=======================================
--- /branches/bleeding_edge/PRESUBMIT.py        Fri Jan 10 10:50:59 2014 UTC
+++ /branches/bleeding_edge/PRESUBMIT.py        Fri Jan 10 13:48:43 2014 UTC
@@ -61,10 +61,12 @@
 def _SkipTreeCheck(input_api, output_api):
   """Check the env var whether we want to skip tree check.
      Only skip if src/version.cc has been updated."""
+  print "skip tree check?", input_api.environ.get('PRESUBMIT_TREE_CHECK')
   src_version = 'src/version.cc'
-  FilterFile = lambda file: file.LocalPath() == src_version
-  if not input_api.AffectedSourceFiles(
-      lambda file: file.LocalPath() == src_version):
+  def FilterFile(file):
+    print "Changed file:", file.LocalPath()
+    return file.LocalPath() == src_version
+  if not input_api.AffectedSourceFiles(FilterFile):
     return False
   if input_api.environ.get('PRESUBMIT_TREE_CHECK') == 'skip':
     print "Skip tree check requested via environment variable."

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to