Lines Matching refs:Checkout
47 from webkitpy.common.checkout.api import Checkout
48 from webkitpy.common.checkout.scm import detect_scm_system, SCM, SVN, Git, CheckoutNeedsUpdate, commit_error_handler, AuthenticationError, AmbiguousCommitError, find_checkout_root, default_scm
152 # Create a test svn checkout
154 run_command(['svn', 'checkout', '--quiet', test_object.svn_repo_url, test_object.svn_checkout_path])
156 # Create and checkout a trunk dir to match the standard svn configuration to match git-svn's expectations
163 # Change directory out of the svn checkout so we can delete the checkout directory.
164 # _setup_test_commits will CD back to the svn checkout directory.
167 run_command(['svn', 'checkout', '--quiet', test_object.svn_repo_url + '/trunk', test_object.svn_checkout_path])
176 # Now that we've deleted the checkout paths, cwddir may be invalid
210 # Mock out abspath() to test being not in a checkout at all.
226 # Mock out abspath() to test being not in a checkout at all.
400 self.checkout.apply_patch(self._create_patch(git_binary_addition))
407 self.assertRaises(ScriptError, self.checkout.apply_patch, self._create_patch(git_binary_addition))
428 self.checkout.apply_patch(self._create_patch(git_binary_modification))
434 self.assertRaises(ScriptError, self.checkout.apply_patch, self._create_patch(git_binary_modification))
447 self.checkout.apply_patch(self._create_patch(git_binary_deletion))
452 self.assertRaises(ScriptError, self.checkout.apply_patch, self._create_patch(git_binary_deletion))
553 self.checkout.apply_patch(self._create_patch(one_line_overlap_patch))
558 self.checkout.apply_patch(self._create_patch(two_line_overlap_patch))
566 # For historical reasons, we test some checkout code here too.
567 self.checkout = Checkout(self.scm)
622 self.checkout.apply_patch(patch_file)
630 Checkout(scm).apply_patch(patch)
636 self.assertRaises(ScriptError, Checkout(scm).apply_patch, patch, force=True)
775 # webkit-patch uses a Checkout object and runs update-webkit, just use svn update here.
849 # For historical reasons, we test some checkout code here too.
850 self.checkout = Checkout(self.scm)
886 run_command(['git', 'checkout', '-b', new_branch])
889 run_command(['git', 'checkout', '-b', 'bar'])
956 Checkout(scm).apply_patch(patch)
962 self.assertRaises(ScriptError, Checkout(scm).apply_patch, patch, force=True)
1100 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1114 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1149 run_command(['git', 'checkout', '-b', 'dummy-branch', 'trunk~3'])
1202 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1225 self.checkout.apply_patch(self._create_patch(patch))
1273 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])
1282 run_command(['git', 'checkout', '-b', 'my-branch', 'trunk~3'])