diff --git a/git_try.py b/git_try.py index 97f86dda5..a36a19f24 100755 --- a/git_try.py +++ b/git_try.py @@ -19,7 +19,7 @@ import git_cl def GetRietveldIssueNumber(): try: return GIT.Capture( - ['config', 'branch.%s.rietveldissue' % GIT.GetBranch(None)]) + ['config', 'branch.%s.rietveldissue' % GIT.GetBranch(None)]).strip() except subprocess2.CalledProcessError: return None @@ -27,7 +27,7 @@ def GetRietveldIssueNumber(): def GetRietveldPatchsetNumber(): try: return GIT.Capture( - ['config', 'branch.%s.rietveldpatchset' % GIT.GetBranch(None)]) + ['config', 'branch.%s.rietveldpatchset' % GIT.GetBranch(None)]).strip() except subprocess2.CalledProcessError: return None diff --git a/trychange.py b/trychange.py index 78b90a770..12aa94899 100755 --- a/trychange.py +++ b/trychange.py @@ -785,11 +785,6 @@ def TryChange(argv, # If no bot is specified, either the default pool will be selected or the # try server will refuse the job. Either case we don't need to interfere. - # Prevent rietveld updates if we aren't running all the tests. - if options.testfilter is not None: - options.issue = None - options.patchset = None - # Send the patch. if options.send_patch: # If forced.