Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2142)

Unified Diff: scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json

Issue 2402583003: Revert "Fix file.copy recipe_module to not fail if files are already equal." (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json
diff --git a/scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json b/scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json
index 6d87ebf8288394ccc7f08cd5c82999e8ec3c36ce..a4219dd006e5da9e7149919076000447926b47cc 100644
--- a/scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json
+++ b/scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skp_version.json
@@ -738,7 +738,7 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shutil, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit(0)\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
"[SLAVE_BUILD]/tmp/SKP_VERSION",
"/path/to/tmp/"
],
@@ -752,7 +752,7 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shutil, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit(0)\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
"[SLAVE_BUILD]/skia/SKP_VERSION",
"/path/to/tmp/"
],
@@ -832,7 +832,7 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shutil, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit(0)\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
"[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
"/path/to/tmp/"
],

Powered by Google App Engine
This is Rietveld 408576698