Home | History | Annotate | Download | only in release

Lines Matching refs:Cmd

269 def Cmd(*args, **kwargs):
422 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None):
423 print "%s %s" % (cmd, args)
425 return self._mock.Call("command", cmd + " " + args, cwd=cwd)
469 self.Expect([Cmd("git --version", "git version 1.2.3"),
470 Cmd("git dummy", "")])
476 Cmd("git status -s -uno", ""),
477 Cmd("git checkout -f origin/master", ""),
478 Cmd("git fetch", ""),
479 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
481 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
488 Cmd("git status -s -uno", ""),
489 Cmd("git checkout -f origin/master", ""),
490 Cmd("git fetch", ""),
491 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
499 Cmd("git status -s -uno", ""),
500 Cmd("git checkout -f origin/master", ""),
501 Cmd("git fetch", ""),
502 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
504 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], None),
513 Cmd("which vi", "/usr/bin/vi"),
519 Cmd("git fetch", ""),
520 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
521 Cmd("git fetch", ""),
522 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
523 Cmd("git fetch", ""),
524 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
525 Cmd("git fetch", ""),
526 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
567 Cmd("git log -1 --format=%H HEAD", "push_hash")
578 Cmd("git log --format=%H 1234..push_hash", "rev1\nrev2\nrev3\nrev4"),
579 Cmd("git log -1 --format=%s rev1", "Title text 1"),
580 Cmd("git log -1 --format=%B rev1", "Title\n\nBUG=\nLOG=y\n"),
581 Cmd("git log -1 --format=%an rev1", "author1@chromium.org"),
582 Cmd("git log -1 --format=%s rev2", "Title text 2."),
583 Cmd("git log -1 --format=%B rev2", "Title\n\nBUG=123\nLOG= \n"),
584 Cmd("git log -1 --format=%an rev2", "author2@chromium.org"),
585 Cmd("git log -1 --format=%s rev3", "Title text 3"),
586 Cmd("git log -1 --format=%B rev3", "Title\n\nBUG=321\nLOG=true\n"),
587 Cmd("git log -1 --format=%an rev3", "author3@chromium.org"),
588 Cmd("git log -1 --format=%s rev4", "Title text 4"),
589 Cmd("git log -1 --format=%B rev4",
594 Cmd("git log -1 --format=%an rev4", "author4@chromium.org"),
638 Cmd("vi %s" % TEST_CONFIG["CHANGELOG_ENTRY_FILE"], ""),
658 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
659 Cmd("git tag", self.TAGS),
660 Cmd("git checkout -f origin/master -- include/v8-version.h",
677 Cmd("git diff origin/candidates hash1", "patch content"),
733 Cmd("fetch v8", "", cwd=work_dir),
808 expectations.append(Cmd("which vi", "/usr/bin/vi"))
810 Cmd("git status -s -uno", ""),
811 Cmd("git checkout -f origin/master", ""),
812 Cmd("git fetch", ""),
813 Cmd("git branch", " branch1\n* branch2\n"),
814 Cmd("git branch", " branch1\n* branch2\n"),
815 Cmd(("git new-branch %s --upstream origin/master" %
817 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
818 Cmd("git tag", self.TAGS),
819 Cmd("git checkout -f origin/master -- include/v8-version.h",
821 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
822 Cmd("git log -1 --format=%s release_hash",
824 Cmd("git log --format=%H abc3..push_hash", "rev1\n"),
825 Cmd("git log -1 --format=%s rev1", "Log text 1.\n"),
826 Cmd("git log -1 --format=%B rev1", "Text\nLOG=YES\nBUG=v8:321\nText\n"),
827 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"),
833 Cmd("vi %s" % TEST_CONFIG["CHANGELOG_ENTRY_FILE"], ""))
835 Cmd("git fetch", ""),
836 Cmd("git checkout -f origin/master", ""),
837 Cmd("git diff origin/candidates push_hash", "patch content\n"),
838 Cmd(("git new-branch %s --upstream origin/candidates" %
840 Cmd("git apply --index --reject \"%s\"" % TEST_CONFIG["PATCH_FILE"], ""),
841 Cmd("git checkout -f origin/candidates -- ChangeLog", "",
843 Cmd("git checkout -f origin/candidates -- include/v8-version.h", "",
845 Cmd("git commit -am \"%s\"" % commit_msg_squashed, ""),
850 Cmd("git cl land -f --bypass-hooks", ""),
851 Cmd("git checkout -f master", ""),
852 Cmd("git fetch", ""),
853 Cmd("git branch -D %s" % TEST_CONFIG["CANDIDATESBRANCH"], ""),
854 Cmd(("git new-branch %s --upstream origin/candidates" %
856 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
858 Cmd("git cl land -f --bypass-hooks", ""),
859 Cmd("git fetch", ""),
860 Cmd("git log -1 --format=%H --grep="
863 Cmd("git tag 3.22.5 hsh_to_tag", ""),
864 Cmd("git push origin 3.22.5", ""),
865 Cmd
866 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
867 Cmd("git branch -D %s" % TEST_CONFIG["CANDIDATESBRANCH"], ""),
948 Cmd("git fetch origin +refs/heads/*:refs/heads/*", ""),
949 Cmd("git checkout -f origin/master", ""),
950 Cmd("git branch", ""),
951 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
952 Cmd("git tag", self.TAGS),
953 Cmd("git checkout -f origin/master -- include/v8-version.h",
955 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
956 Cmd("git log -1 --format=%s release_hash", "Version 3.22.4\n"),
957 Cmd("git log -1 --format=%H release_hash^", "abc3\n"),
958 Cmd("git log --format=%H abc3..push_hash", "rev1\n"),
959 Cmd("git log -1 --format=%s rev1", "Log text 1.\n"),
960 Cmd("git log -1 --format=%B rev1", "Text\nLOG=YES\nBUG=v8:321\nText\n"),
961 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"),
962 Cmd("git push origin push_hash:refs/heads/3.22.5", ""),
963 Cmd("git reset --hard origin/master", ""),
964 Cmd("git new-branch work-branch --upstream origin/3.22.5", ""),
965 Cmd("git checkout -f 3.22.4 -- ChangeLog", "", cb=ResetChangeLog),
966 Cmd("git checkout -f 3.22.4 -- include/v8-version.h", "",
968 Cmd("git checkout -f 3.22.4 -- WATCHLISTS", "",
970 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
972 Cmd("git cl land --bypass-hooks -f", ""),
973 Cmd("git fetch", ""),
974 Cmd("git log -1 --format=%H --grep="
976 Cmd("git tag 3.22.5 hsh_to_tag", ""),
977 Cmd("git push origin 3.22.5", ""),
978 Cmd("git checkout -f origin/master", ""),
979 Cmd("git branch", "* master\n work-branch\n"),
980 Cmd("git branch -D work-branch", ""),
981 Cmd("git gc", ""),
1061 Cmd("git fetch origin", ""),
1062 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1063 Cmd("git describe --tags last_roll_hsh", "3.22.4"),
1064 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1065 Cmd("git rev-list --max-age=395200 --tags",
1067 Cmd("git describe --tags bad_tag", ""),
1068 Cmd("git describe --tags roll_hsh", "3.22.4"),
1069 Cmd("git describe --tags hash_123", "3.22.3"),
1070 Cmd("git describe --tags roll_hsh", "3.22.4"),
1071 Cmd("git describe --tags hash_123", "3.22.3"),
1097 Cmd("git fetch origin", ""),
1098 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1099 Cmd("git describe --tags last_roll_hsh", "3.22.3.1"),
1100 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1101 Cmd("git rev-list --max-age=395200 --tags",
1103 Cmd("git describe --tags bad_tag", ""),
1104 Cmd("git describe --tags roll_hsh", "3.22.4"),
1105 Cmd("git describe --tags hash_123", "3.22.3"),
1106 Cmd("git describe --tags roll_hsh", "3.22.4"),
1107 Cmd("git log -1 --format=%s roll_hsh", "Version 3.22.4\n"),
1108 Cmd("git describe --tags roll_hsh", "3.22.4"),
1109 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"),
1110 Cmd("git status -s -uno", "", cwd=chrome_dir),
1111 Cmd("git checkout -f master", "", cwd=chrome_dir),
1112 Cmd("git branch", "", cwd=chrome_dir),
1113 Cmd("git pull", "", cwd=chrome_dir),
1114 Cmd("git fetch origin", ""),
1115 Cmd("git new-branch work-branch", "", cwd=chrome_dir),
1116 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
1117 Cmd(("git commit -am \"%s\" "
1121 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f "
1123 Cmd("git checkout -f master", "", cwd=chrome_dir),
1124 Cmd("git branch -D work-branch", "", cwd=chrome_dir),
1140 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1141 Cmd("git tag", self.TAGS),
1142 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
1143 Cmd("git log -1 --format=%s release_hash",
1145 Cmd("git log --format=%H abc3..abc123", "\n"),
1154 Cmd("git fetch", ""),
1155 Cmd("git fetch origin +refs/heads/lkgr:refs/heads/lkgr", ""),
1156 Cmd("git show-ref -s refs/heads/lkgr", "abc123\n"),
1157 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1158 Cmd("git tag", self.TAGS),
1159 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
1160 Cmd("git log -1 --format=%s release_hash",
1162 Cmd("git log --format=%H abc3..abc123", "some_stuff\n"),
1217 Cmd("git status -s -uno", ""),
1218 Cmd("git checkout -f origin/master", ""),
1219 Cmd("git fetch", ""),
1220 Cmd("git branch", " branch1\n* branch2\n"),
1221 Cmd("git new-branch %s --upstream refs/remotes/origin/candidates" %
1223 Cmd(("git log --format=%H --grep=\"Port ab12345\" "
1226 Cmd("git log -1 --format=%s ab45678", "Title1"),
1227 Cmd("git log -1 --format=%s ab23456", "Title2"),
1228 Cmd(("git log --format=%H --grep=\"Port ab23456\" "
1231 Cmd(("git log --format=%H --grep=\"Port ab34567\" "
1234 Cmd("git log -1 --format=%s ab56789", "Title3"),
1237 Cmd("git log -1 --format=%s ab12345", None),
1239 Cmd("git log -1 --format=%s ab12345", "Title4"),
1240 Cmd("git log -1 --format=%s ab23456", "Title2"),
1241 Cmd("git log -1 --format=%s ab34567", "Title3"),
1242 Cmd("git log -1 --format=%s ab45678", "Title1"),
1243 Cmd("git log -1 --format=%s ab56789", "Revert \"Something\""),
1244 Cmd("git log -1 ab12345", "Title4\nBUG=123\nBUG=234"),
1245 Cmd("git log -1 ab23456", "Title2\n BUG = v8:123,345"),
1246 Cmd("git log -1 ab34567", "Title3\nLOG=n\nBUG=567, 456"),
1247 Cmd("git log -1 ab45678", "Title1\nBUG="),
1248 Cmd("git log -1 ab56789", "Revert \"Something\"\nBUG=none"),
1249 Cmd("git log -1 -p ab12345", "patch4"),
1250 Cmd(("git apply --index --reject \"%s\"" %
1253 Cmd("git log -1 -p ab23456", "patch2"),
1254 Cmd(("git apply --index --reject \"%s\"" %
1257 Cmd("git log -1 -p ab34567", "patch3"),
1258 Cmd(("git apply --index --reject \"%s\"" %
1261 Cmd("git log -1 -p ab45678", "patch1"),
1262 Cmd(("git apply --index --reject \"%s\"" %
1265 Cmd("git log -1 -p ab56789", "patch5\n"),
1266 Cmd(("git apply --index --reject \"%s\"" %
1269 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""),
1271 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""),
1273 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" "
1275 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""),
1277 Cmd("git cl presubmit", "Presubmit successfull\n"),
1278 Cmd
1280 Cmd("git fetch", ""),
1281 Cmd("git log -1 --format=%H --grep=\""
1285 Cmd("git fetch", ""),
1286 Cmd("git log -1 --format=%H --grep=\""
1290 Cmd("git tag 3.22.5.1 hsh_to_tag", ""),
1291 Cmd("git push origin 3.22.5.1", ""),
1292 Cmd("git checkout -f origin/master", ""),
1293 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
1372 Cmd("git status -s -uno", ""),
1373 Cmd("git checkout -f origin/master", ""),
1374 Cmd("git fetch", ""),
1375 Cmd("git branch", " branch1\n* branch2\n"),
1376 Cmd("git new-branch %s" % TEST_CONFIG["BRANCHNAME"], ""),
1377 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1378 Cmd("git rev-list --max-age=395200 --tags",
1380 Cmd("git describe --tags bad_tag", "3.23.42-1-deadbeef"),
1381 Cmd("git describe --tags hash_234", "3.3.1.1"),
1382 Cmd("git describe --tags hash_123", "3.21.2"),
1383 Cmd("git describe --tags hash_345", "3.22.3"),
1384 Cmd("git describe --tags hash_456", "4.2.71"),
1385 Cmd("git diff --name-only hash_234 hash_234^", VERSION_FILE),
1386 Cmd("git checkout -f hash_234 -- %s" % VERSION_FILE, "",
1388 Cmd("git branch -r --contains hash_234", " branch-heads/3.3\n"),
1389 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1390 Cmd("git log -1 --format=%s hash_234", ""),
1391 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1392 Cmd("git log -1 --format=%ci hash_234", "18:15"),
1393 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1395 Cmd("git diff --name-only hash_123 hash_123^", VERSION_FILE),
1396 Cmd("git checkout -f hash_123 -- %s" % VERSION_FILE, "",
1398 Cmd("git branch -r --contains hash_123", " branch-heads/3.21\n"),
1399 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1400 Cmd("git log -1 --format=%s hash_123", ""),
1401 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1402 Cmd("git log -1 --format=%ci hash_123", "03:15"),
1403 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1405 Cmd("git diff --name-only hash_345 hash_345^", VERSION_FILE),
1406 Cmd("git checkout -f hash_345 -- %s" % VERSION_FILE, "",
1408 Cmd("git branch -r --contains hash_345", " origin/candidates\n"),
1409 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1410 Cmd("git log -1 --format=%s hash_345", ""),
1411 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1412 Cmd("git log -1 --format=%ci hash_345", ""),
1413 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1415 Cmd("git diff --name-only hash_456 hash_456^", VERSION_FILE),
1416 Cmd("git checkout -f hash_456 -- %s" % VERSION_FILE, "",
1418 Cmd("git branch -r --contains hash_456", " origin/4.2.71\n"),
1419 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1420 Cmd("git log -1 --format=%H 4.2.71", "hash_456"),
1421 Cmd("git log -1 --format=%s hash_456", "Version 4.2.71"),
1422 Cmd("git log -1 --format=%H hash_456^", "master_456"),
1423 Cmd("git log -1 --format=%B master_456",
1425 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1426 Cmd("git log -1 --format=%ci hash_456", "02:15"),
1427 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1429 Cmd("git fetch origin +refs/heads/*:refs/remotes/origin/* "
1432 Cmd("git fetch origin", "", cwd=chrome_v8_dir),
1433 Cmd("git log --format=%H --grep=\"V8\" origin/master -- DEPS",
1436 Cmd("git show c_hash1:DEPS", c_deps % "hash_456", cwd=chrome_dir),
1437 Cmd("git log -1 --format=%B c_hash1", c_hash1_commit_log,
1439 Cmd("git show c_hash2:DEPS", c_deps % "hash_345", cwd=chrome_dir),
1440 Cmd("git log -1 --format=%B c_hash2", c_hash2_commit_log,
1442 Cmd("git show c_hash3:DEPS", c_deps % "deadbeef", cwd=chrome_dir),
1443 Cmd("git log -1 --format=%B c_hash3", c_hash3_commit_log,
1445 Cmd("git branch -r", " weird/123\n branch-heads/7\n", cwd=chrome_dir),
1446 Cmd("git show refs/branch-heads/7:DEPS", c_deps % "hash_345",
1463 Cmd("git rev-list -1 11.1.1", "v8_previous_version_hash"),
1464 Cmd("git rev-list -1 22.2.2.2", "v8_version_hash"),
1465 Cmd("git checkout -f origin/master", ""),
1466 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], "")
1600 Cmd("git status -s -uno", ""),
1601 Cmd("git checkout -f origin/master", ""),
1602 Cmd("git fetch", ""),
1603 Cmd("git branch", " branch1\n* branch2\n"),
1604 Cmd("git new-branch %s --upstream refs/remotes/origin/candidates" %
1606 Cmd(("git log --format=%H --grep=\"^[Pp]ort ab12345\" "
1609 Cmd("git log -1 --format=%s ab45678", "Title1"),
1610 Cmd("git log -1 --format=%s ab23456", "Title2"),
1611 Cmd(("git log --format=%H --grep=\"^[Pp]ort ab23456\" "
1614 Cmd(("git log --format=%H --grep=\"^[Pp]ort ab34567\" "
1617 Cmd("git log -1 --format=%s ab56789", "Title3"),
1620 Cmd("git log -1 --format=%s ab12345", None),
1622 Cmd("git log -1 --format=%s ab12345", "Title4"),
1623 Cmd("git log -1 --format=%s ab23456", "Title2"),
1624 Cmd("git log -1 --format=%s ab34567", "Title3"),
1625 Cmd("git log -1 --format=%s ab45678", "Title1"),
1626 Cmd("git log -1 --format=%s ab56789", "Revert \"Something\""),
1627 Cmd("git log -1 ab12345", "Title4\nBUG=123\nBUG=234"),
1628 Cmd("git log -1 ab23456", "Title2\n BUG = v8:123,345"),
1629 Cmd("git log -1 ab34567", "Title3\nLOG=n\nBUG=567, 456"),
1630 Cmd("git log -1 ab45678", "Title1\nBUG="),
1631 Cmd("git log -1 ab56789", "Revert \"Something\"\nBUG=none"),
1632 Cmd("git log -1 -p ab12345", "patch4"),
1633 Cmd(("git apply --index --reject \"%s\"" %
1636 Cmd("git log -1 -p ab23456", "patch2"),
1637 Cmd(("git apply --index --reject \"%s\"" %
1640 Cmd("git log -1 -p ab34567", "patch3"),
1641 Cmd(("git apply --index --reject \"%s\"" %
1644 Cmd("git log -1 -p ab45678", "patch1"),
1645 Cmd(("git apply --index --reject \"%s\"" %
1648 Cmd("git log -1 -p ab56789", "patch5\n"),
1649 Cmd(("git apply --index --reject \"%s\"" %
1652 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""),
1653 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""),
1655 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" "
1657 Cmd("git cl comments -a \"%s\"" % info_msg, ""),
1658 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""),
1660 Cmd("git cl presubmit", "Presubmit successfull\n"),
1661 Cmd("git cl land -f --bypass-hooks", "Closing issue\n",
1663 Cmd("git checkout -f origin/master", ""),
1664 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
1743 Cmd("git status -s -uno", ""),
1744 Cmd("git checkout -f origin/master", ""),
1745 Cmd("git fetch", ""),
1746 Cmd("git branch", " branch1\n* branch2\n"),
1747 Cmd("git new-branch %s" % TEST_CONFIG["BRANCHNAME"], ""),
1748 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1749 Cmd("git rev-list --max-age=395200 --tags",
1751 Cmd("git describe --tags bad_tag", "3.23.42-1-deadbeef"),
1752 Cmd("git describe --tags hash_234", "3.3.1.1"),
1753 Cmd("git describe --tags hash_123", "3.21.2"),
1754 Cmd("git describe --tags hash_345", "3.22.3"),
1755 Cmd("git describe --tags hash_456", "4.2.71"),
1756 Cmd("git diff --name-only hash_234 hash_234^", VERSION_FILE),
1757 Cmd("git checkout -f hash_234 -- %s" % VERSION_FILE, "",
1759 Cmd("git branch -r --contains hash_234", " branch-heads/3.3\n"),
1760 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1761 Cmd("git log -1 --format=%s hash_234", ""),
1762 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1763 Cmd("git log -1 --format=%ci hash_234", "18:15"),
1764 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1766 Cmd("git diff --name-only hash_123 hash_123^", VERSION_FILE),
1767 Cmd("git checkout -f hash_123 -- %s" % VERSION_FILE, "",
1769 Cmd("git branch -r --contains hash_123", " branch-heads/3.21\n"),
1770 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1771 Cmd("git log -1 --format=%s hash_123", ""),
1772 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1773 Cmd("git log -1 --format=%ci hash_123", "03:15"),
1774 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1776 Cmd("git diff --name-only hash_345 hash_345^", VERSION_FILE),
1777 Cmd("git checkout -f hash_345 -- %s" % VERSION_FILE, "",
1779 Cmd("git branch -r --contains hash_345", " origin/candidates\n"),
1780 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1781 Cmd("git log -1 --format=%s hash_345", ""),
1782 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1783 Cmd("git log -1 --format=%ci hash_345", ""),
1784 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1786 Cmd("git diff --name-only hash_456 hash_456^", VERSION_FILE),
1787 Cmd("git checkout -f hash_456 -- %s" % VERSION_FILE, "",
1789 Cmd("git branch -r --contains hash_456", " origin/4.2.71\n"),
1790 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1791 Cmd("git log -1 --format=%H 4.2.71", "hash_456"),
1792 Cmd("git log -1 --format=%s hash_456", "Version 4.2.71"),
1793 Cmd("git log -1 --format=%H hash_456^", "master_456"),
1794 Cmd("git log -1 --format=%B master_456",
1796 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1797 Cmd("git log -1 --format=%ci hash_456", "02:15"),
1798 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1800 Cmd("git fetch origin +refs/heads/*:refs/remotes/origin/* "
1803 Cmd("git fetch origin", "", cwd=chrome_v8_dir),
1804 Cmd("git log --format=%H --grep=\"V8\" origin/master -- DEPS",
1807 Cmd("git show c_hash1:DEPS", c_deps % "hash_456", cwd=chrome_dir),
1808 Cmd("git log -1 --format=%B c_hash1", c_hash1_commit_log,
1810 Cmd("git show c_hash2:DEPS", c_deps % "hash_345", cwd=chrome_dir),
1811 Cmd("git log -1 --format=%B c_hash2", c_hash2_commit_log,
1813 Cmd("git show c_hash3:DEPS", c_deps % "deadbeef", cwd=chrome_dir),
1814 Cmd("git log -1 --format=%B c_hash3", c_hash3_commit_log,
1816 Cmd("git branch -r", " weird/123\n branch-heads/7\n", cwd=chrome_dir),
1817 Cmd("git show refs/branch-heads/7:DEPS", c_deps % "hash_345",
1834 Cmd("git rev-list -1 11.1.1", "v8_previous_version_hash"),
1835 Cmd("git rev-list -1 22.2.2.2", "v8_version_hash"),
1836 Cmd("git checkout -f origin/master", ""),
1837 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], "")