From 037edb823f045ca3e6a13217efd0fcbdcfb2a384 Mon Sep 17 00:00:00 2001 From: agable Date: Mon, 24 Oct 2016 14:35:12 -0700 Subject: [PATCH] Remove SVN support from apply_issue R=iannucci@chromium.org BUG=475320 Review-Url: https://codereview.chromium.org/2394963003 --- apply_issue.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apply_issue.py b/apply_issue.py index 5e6088735..e9c49b90b 100755 --- a/apply_issue.py +++ b/apply_issue.py @@ -263,9 +263,7 @@ def main(): patch.patchlevel += options.extra_patchlevel full_dir = os.path.abspath(options.root_dir) scm_type = scm.determine_scm(full_dir) - if scm_type == 'svn': - scm_obj = checkout.SvnCheckout(full_dir, None, None, None, None) - elif scm_type == 'git': + if scm_type == 'git': scm_obj = checkout.GitCheckout(full_dir, None, None, None, None) elif scm_type == None: scm_obj = checkout.RawCheckout(full_dir, None, None) @@ -306,8 +304,6 @@ def main(): '--nohooks', '--delete_unversioned_trees', ] - if scm_type == 'svn': - cmd.extend(['--revision', 'BASE']) if options.revision_mapping: cmd.extend(['--output-json', f])