|
|
|
@ -167,13 +167,13 @@ class TestGitCl(TestCase):
|
|
|
|
|
similarity_call,
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
|
|
|
|
find_copies_call,
|
|
|
|
|
((['git', 'config', 'rietveld.autoupdate'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.server'],),
|
|
|
|
|
'codereview.example.com'),
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
|
|
|
|
((['git', 'config', 'branch.master.rietveldissue'],), ''),
|
|
|
|
|
((['git', 'config', 'branch.master.gerritissue'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.autoupdate'],), ''),
|
|
|
|
|
((['git', 'config', 'gerrit.host'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.server'],),
|
|
|
|
|
'codereview.example.com'),
|
|
|
|
|
((['git', 'config', 'branch.master.merge'],), 'master'),
|
|
|
|
|
((['git', 'config', 'branch.master.remote'],), 'origin'),
|
|
|
|
|
((['get_or_create_merge_base', 'master', 'master'],),
|
|
|
|
@ -286,11 +286,11 @@ class TestGitCl(TestCase):
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'refs/heads/working'),
|
|
|
|
|
((['git', 'config', '--int', '--get',
|
|
|
|
|
'branch.working.git-find-copies'],), ''),
|
|
|
|
|
((['git',
|
|
|
|
|
'config', 'rietveld.server'],), 'codereview.example.com'),
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'refs/heads/working'),
|
|
|
|
|
((['git',
|
|
|
|
|
'config', 'branch.working.rietveldissue'],), '12345'),
|
|
|
|
|
((['git',
|
|
|
|
|
'config', 'rietveld.server'],), 'codereview.example.com'),
|
|
|
|
|
((['git',
|
|
|
|
|
'config', 'branch.working.merge'],), 'refs/heads/master'),
|
|
|
|
|
((['git', 'config', 'branch.working.remote'],), 'origin'),
|
|
|
|
@ -550,12 +550,10 @@ class TestGitCl(TestCase):
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
|
|
|
|
((['git', 'config', '--int', '--get',
|
|
|
|
|
'branch.master.git-find-copies'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.autoupdate'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.server'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.server'],), ''),
|
|
|
|
|
((['git', 'symbolic-ref', 'HEAD'],), 'master'),
|
|
|
|
|
((['git', 'config', 'branch.master.rietveldissue'],), ''),
|
|
|
|
|
((['git', 'config', 'branch.master.gerritissue'],), ''),
|
|
|
|
|
((['git', 'config', 'rietveld.autoupdate'],), ''),
|
|
|
|
|
((['git', 'config', 'gerrit.host'],), 'True'),
|
|
|
|
|
((['git', 'config', 'branch.master.merge'],), 'master'),
|
|
|
|
|
((['git', 'config', 'branch.master.remote'],), 'origin'),
|
|
|
|
|