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

Unified Diff: roll_dep.py

Issue 1468183002: Strip trailing / or \ when rolling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: roll_dep.py
diff --git a/roll_dep.py b/roll_dep.py
index a16a5cdce80c43ba0ebf6ad871e31fb1b238b77b..6cae24f388f66ea271b4d0d783fb12966161bd6c 100755
--- a/roll_dep.py
+++ b/roll_dep.py
@@ -202,7 +202,7 @@ def main():
try:
roll(
os.getcwd(),
- args.dep_path,
+ args.dep_path.rstrip('/').rstrip('\\'),
args.roll_to,
args.key,
reviewers,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698