Home | History | Annotate | Download | only in release

Lines Matching refs:Cmd

270 def Cmd(*args, **kwargs):
409 cmd, args="", prefix="", pipe=True, cwd=None):
410 print "%s %s" % (cmd, args)
412 return self._mock.Call("command", cmd + " " + args, cwd=cwd)
456 self.Expect([Cmd("git --version", "git version 1.2.3"),
457 Cmd("git dummy", "")])
463 Cmd("git status -s -uno", ""),
464 Cmd("git checkout -f origin/master", ""),
465 Cmd("git fetch", ""),
466 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
468 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
475 Cmd("git status -s -uno", ""),
476 Cmd("git checkout -f origin/master", ""),
477 Cmd("git fetch", ""),
478 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
486 Cmd("git status -s -uno", ""),
487 Cmd("git checkout -f origin/master", ""),
488 Cmd("git fetch", ""),
489 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]),
491 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], None),
500 Cmd("which vi", "/usr/bin/vi"),
506 Cmd("git fetch", ""),
507 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
508 Cmd("git fetch", ""),
509 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
510 Cmd("git fetch", ""),
511 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
512 Cmd("git fetch", ""),
513 Cmd("git log -1 --format=%H --grep=\"Title\" origin/candidates", ""),
554 Cmd("git log -1 --format=%H HEAD", "push_hash")
565 Cmd("git log --format=%H 1234..push_hash", "rev1\nrev2\nrev3\nrev4"),
566 Cmd("git log -1 --format=%s rev1", "Title text 1"),
567 Cmd("git log -1 --format=%B rev1", "Title\n\nBUG=\nLOG=y\n"),
568 Cmd("git log -1 --format=%an rev1", "author1@chromium.org"),
569 Cmd("git log -1 --format=%s rev2", "Title text 2."),
570 Cmd("git log -1 --format=%B rev2", "Title\n\nBUG=123\nLOG= \n"),
571 Cmd("git log -1 --format=%an rev2", "author2@chromium.org"),
572 Cmd("git log -1 --format=%s rev3", "Title text 3"),
573 Cmd("git log -1 --format=%B rev3", "Title\n\nBUG=321\nLOG=true\n"),
574 Cmd("git log -1 --format=%an rev3", "author3@chromium.org"),
575 Cmd("git log -1 --format=%s rev4", "Title text 4"),
576 Cmd("git log -1 --format=%B rev4",
581 Cmd("git log -1 --format=%an rev4", "author4@chromium.org"),
625 Cmd("vi %s" % TEST_CONFIG["CHANGELOG_ENTRY_FILE"], ""),
645 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
646 Cmd("git tag", self.TAGS),
647 Cmd("git checkout -f origin/master -- include/v8-version.h",
664 Cmd("git diff origin/candidates hash1", "patch content"),
720 Cmd("fetch v8", "", cwd=work_dir),
795 expectations.append(Cmd("which vi", "/usr/bin/vi"))
797 Cmd("git status -s -uno", ""),
798 Cmd("git checkout -f origin/master", ""),
799 Cmd("git fetch", ""),
800 Cmd("git branch", " branch1\n* branch2\n"),
801 Cmd("git branch", " branch1\n* branch2\n"),
802 Cmd(("git new-branch %s --upstream origin/master" %
804 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
805 Cmd("git tag", self.TAGS),
806 Cmd("git checkout -f origin/master -- include/v8-version.h",
808 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
809 Cmd("git log -1 --format=%s release_hash",
811 Cmd("git log --format=%H abc3..push_hash", "rev1\n"),
812 Cmd("git log -1 --format=%s rev1", "Log text 1.\n"),
813 Cmd("git log -1 --format=%B rev1", "Text\nLOG=YES\nBUG=v8:321\nText\n"),
814 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"),
820 Cmd("vi %s" % TEST_CONFIG["CHANGELOG_ENTRY_FILE"], ""))
822 Cmd("git fetch", ""),
823 Cmd("git checkout -f origin/master", ""),
824 Cmd("git diff origin/candidates push_hash", "patch content\n"),
825 Cmd(("git new-branch %s --upstream origin/candidates" %
827 Cmd("git apply --index --reject \"%s\"" % TEST_CONFIG["PATCH_FILE"], ""),
828 Cmd("git checkout -f origin/candidates -- ChangeLog", "",
830 Cmd("git checkout -f origin/candidates -- include/v8-version.h", "",
832 Cmd("git commit -am \"%s\"" % commit_msg_squashed, ""),
837 Cmd("git cl land -f --bypass-hooks", ""),
838 Cmd("git checkout -f master", ""),
839 Cmd("git fetch", ""),
840 Cmd("git branch -D %s" % TEST_CONFIG["CANDIDATESBRANCH"], ""),
841 Cmd(("git new-branch %s --upstream origin/candidates" %
843 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
845 Cmd("git cl land -f --bypass-hooks", ""),
846 Cmd("git fetch", ""),
847 Cmd("git log -1 --format=%H --grep="
850 Cmd("git tag 3.22.5 hsh_to_tag", ""),
851 Cmd("git push origin 3.22.5", ""),
852 Cmd("git checkout -f origin/master", ""),
853 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
854 Cmd("git branch -D %s" % TEST_CONFIG["CANDIDATESBRANCH"], ""),
935 Cmd("git fetch origin "
939 Cmd("git checkout -f origin/master", ""),
940 Cmd("git branch", ""),
941 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
942 Cmd("git tag", self.TAGS),
943 Cmd("git checkout -f origin/master -- include/v8-version.h",
945 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
946 Cmd("git log -1 --format=%s release_hash", "Version 3.22.4\n"),
947 Cmd("git log -1 --format=%H release_hash^", "abc3\n"),
948 Cmd("git log --format=%H abc3..push_hash", "rev1\n"),
949 Cmd("git log -1 --format=%s rev1", "Log text 1.\n"),
950 Cmd("git log -1 --format=%B rev1", "Text\nLOG=YES\nBUG=v8:321\nText\n"),
951 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"),
952 Cmd("git reset --hard origin/master", ""),
953 Cmd("git checkout -b work-branch push_hash", ""),
954 Cmd("git checkout -f 3.22.4 -- ChangeLog", "", cb=ResetChangeLog),
955 Cmd("git checkout -f 3.22.4 -- include/v8-version.h", "",
957 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
959 Cmd("git push origin "
963 Cmd("git fetch", ""),
964 Cmd("git log -1 --format=%H --grep="
966 Cmd("git tag 3.22.5 hsh_to_tag", ""),
967 Cmd("git push origin 3.22.5", ""),
968 Cmd("git checkout -f origin/master", ""),
969 Cmd("git branch", "* master\n work-branch\n"),
970 Cmd("git branch -D work-branch", ""),
971 Cmd("git gc", ""),
1037 Cmd("git fetch origin", ""),
1038 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1039 Cmd("git describe --tags last_roll_hsh", "3.22.4"),
1040 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1041 Cmd("git rev-list --max-age=395200 --tags",
1043 Cmd("git describe --tags bad_tag", ""),
1044 Cmd("git describe --tags roll_hsh", "3.22.4"),
1045 Cmd("git describe --tags hash_123", "3.22.3"),
1046 Cmd("git describe --tags roll_hsh", "3.22.4"),
1047 Cmd("git describe --tags hash_123", "3.22.3"),
1073 Cmd("git fetch origin", ""),
1074 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1075 Cmd("git describe --tags last_roll_hsh", "3.22.3.1"),
1076 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1077 Cmd("git rev-list --max-age=395200 --tags",
1079 Cmd("git describe --tags bad_tag", ""),
1080 Cmd("git describe --tags roll_hsh", "3.22.4"),
1081 Cmd("git describe --tags hash_123", "3.22.3"),
1082 Cmd("git describe --tags roll_hsh", "3.22.4"),
1083 Cmd("git log -1 --format=%s roll_hsh", "Version 3.22.4\n"),
1084 Cmd("git describe --tags roll_hsh", "3.22.4"),
1085 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"),
1086 Cmd("git status -s -uno", "", cwd=chrome_dir),
1087 Cmd("git checkout -f master", "", cwd=chrome_dir),
1088 Cmd("git branch", "", cwd=chrome_dir),
1089 Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir),
1090 Cmd("git pull", "", cwd=chrome_dir),
1091 Cmd("git fetch origin", ""),
1092 Cmd("git new-branch work-branch", "", cwd=chrome_dir),
1093 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
1094 Cmd(("git commit -am \"%s\" "
1098 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f "
1100 Cmd("git checkout -f master", "", cwd=chrome_dir),
1101 Cmd("git branch -D work-branch", "", cwd=chrome_dir),
1117 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1118 Cmd("git tag", self.TAGS),
1119 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
1120 Cmd("git log -1 --format=%s release_hash",
1122 Cmd("git log --format=%H abc3..abc123", "\n"),
1131 Cmd("git fetch", ""),
1132 Cmd("git fetch origin +refs/heads/lkgr:refs/heads/lkgr", ""),
1133 Cmd("git show-ref -s refs/heads/lkgr", "abc123\n"),
1134 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1135 Cmd("git tag", self.TAGS),
1136 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
1137 Cmd("git log -1 --format=%s release_hash",
1139 Cmd("git log --format=%H abc3..abc123", "some_stuff\n"),
1194 Cmd("git status -s -uno", ""),
1195 Cmd("git checkout -f origin/master", ""),
1196 Cmd("git fetch", ""),
1197 Cmd("git branch", " branch1\n* branch2\n"),
1198 Cmd("git new-branch %s --upstream refs/remotes/origin/candidates" %
1200 Cmd(("git log --format=%H --grep=\"Port ab12345\" "
1203 Cmd("git log -1 --format=%s ab45678", "Title1"),
1204 Cmd("git log -1 --format=%s ab23456", "Title2"),
1205 Cmd(("git log --format=%H --grep=\"Port ab23456\" "
1208 Cmd(("git log --format=%H --grep=\"Port ab34567\" "
1211 Cmd("git log -1 --format=%s ab56789", "Title3"),
1214 Cmd("git log -1 --format=%s ab12345", None),
1216 Cmd("git log -1 --format=%s ab12345", "Title4"),
1217 Cmd("git log -1 --format=%s ab23456", "Title2"),
1218 Cmd("git log -1 --format=%s ab34567", "Title3"),
1219 Cmd("git log -1 --format=%s ab45678", "Title1"),
1220 Cmd("git log -1 --format=%s ab56789", "Revert \"Something\""),
1221 Cmd("git log -1 ab12345", "Title4\nBUG=123\nBUG=234"),
1222 Cmd("git log -1 ab23456", "Title2\n BUG = v8:123,345"),
1223 Cmd("git log -1 ab34567", "Title3\nLOG=n\nBUG=567, 456"),
1224 Cmd("git log -1 ab45678", "Title1\nBUG="),
1225 Cmd("git log -1 ab56789", "Revert \"Something\"\nBUG=none"),
1226 Cmd("git log -1 -p ab12345", "patch4"),
1227 Cmd(("git apply --index --reject \"%s\"" %
1230 Cmd("git log -1 -p ab23456", "patch2"),
1231 Cmd(("git apply --index --reject \"%s\"" %
1234 Cmd("git log -1 -p ab34567", "patch3"),
1235 Cmd(("git apply --index --reject \"%s\"" %
1238 Cmd("git log -1 -p ab45678", "patch1"),
1239 Cmd(("git apply --index --reject \"%s\"" %
1242 Cmd("git log -1 -p ab56789", "patch5\n"),
1243 Cmd(("git apply --index --reject \"%s\"" %
1246 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""),
1248 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""),
1250 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" "
1252 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""),
1254 Cmd("git cl presubmit", "Presubmit successfull\n"),
1255 Cmd("git cl land -f --bypass-hooks", "Closing issue\n",
1257 Cmd("git fetch", ""),
1258 Cmd("git log -1 --format=%H --grep=\""
1262 Cmd("git fetch", ""),
1263 Cmd("git log -1 --format=%H --grep=\""
1267 Cmd("git tag 3.22.5.1 hsh_to_tag", ""),
1268 Cmd("git push origin 3.22.5.1", ""),
1269 Cmd("git checkout -f origin/master", ""),
1270 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
1349 Cmd("git status -s -uno", ""),
1350 Cmd("git checkout -f origin/master", ""),
1351 Cmd("git fetch", ""),
1352 Cmd("git branch", " branch1\n* branch2\n"),
1353 Cmd("git new-branch %s" % TEST_CONFIG["BRANCHNAME"], ""),
1354 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
1355 Cmd("git rev-list --max-age=395200 --tags",
1357 Cmd("git describe --tags bad_tag", "3.23.42-1-deadbeef"),
1358 Cmd("git describe --tags hash_234", "3.3.1.1"),
1359 Cmd("git describe --tags hash_123", "3.21.2"),
1360 Cmd("git describe --tags hash_345", "3.22.3"),
1361 Cmd("git describe --tags hash_456", "4.2.71"),
1362 Cmd("git diff --name-only hash_234 hash_234^", VERSION_FILE),
1363 Cmd("git checkout -f hash_234 -- %s" % VERSION_FILE, "",
1365 Cmd("git branch -r --contains hash_234", " branch-heads/3.3\n"),
1366 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1367 Cmd("git log -1 --format=%s hash_234", ""),
1368 Cmd("git log -1 --format=%B hash_234", c_hash_234_commit_log),
1369 Cmd("git log -1 --format=%ci hash_234", "18:15"),
1370 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1372 Cmd("git diff --name-only hash_123 hash_123^", VERSION_FILE),
1373 Cmd("git checkout -f hash_123 -- %s" % VERSION_FILE, "",
1375 Cmd("git branch -r --contains hash_123", " branch-heads/3.21\n"),
1376 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1377 Cmd("git log -1 --format=%s hash_123", ""),
1378 Cmd("git log -1 --format=%B hash_123", c_hash_123_commit_log),
1379 Cmd("git log -1 --format=%ci hash_123", "03:15"),
1380 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1382 Cmd("git diff --name-only hash_345 hash_345^", VERSION_FILE),
1383 Cmd("git checkout -f hash_345 -- %s" % VERSION_FILE, "",
1385 Cmd("git branch -r --contains hash_345", " origin/candidates\n"),
1386 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1387 Cmd("git log -1 --format=%s hash_345", ""),
1388 Cmd("git log -1 --format=%B hash_345", c_hash_345_commit_log),
1389 Cmd("git log -1 --format=%ci hash_345", ""),
1390 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1392 Cmd("git diff --name-only hash_456 hash_456^", VERSION_FILE),
1393 Cmd("git checkout -f hash_456 -- %s" % VERSION_FILE, "",
1395 Cmd("git branch -r --contains hash_456", " origin/4.2.71\n"),
1396 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1397 Cmd("git log -1 --format=%H 4.2.71", "hash_456"),
1398 Cmd("git log -1 --format=%s hash_456", "Version 4.2.71"),
1399 Cmd("git log -1 --format=%H hash_456^", "master_456"),
1400 Cmd("git log -1 --format=%B master_456",
1402 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1403 Cmd("git log -1 --format=%ci hash_456", "02:15"),
1404 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1406 Cmd("git fetch origin +refs/heads/*:refs/remotes/origin/* "
1409 Cmd("git fetch origin", "", cwd=chrome_v8_dir),
1410 Cmd("git log --format=%H --grep=\"V8\" origin/master -- DEPS",
1413 Cmd("git show c_hash1:DEPS", c_deps % "hash_456", cwd=chrome_dir),
1414 Cmd("git log -1 --format=%B c_hash1", c_hash1_commit_log,
1416 Cmd("git show c_hash2:DEPS", c_deps % "hash_345", cwd=chrome_dir),
1417 Cmd("git log -1 --format=%B c_hash2", c_hash2_commit_log,
1419 Cmd("git show c_hash3:DEPS", c_deps % "deadbeef", cwd=chrome_dir),
1420 Cmd("git log -1 --format=%B c_hash3", c_hash3_commit_log,
1422 Cmd("git branch -r", " weird/123\n branch-heads/7\n", cwd=chrome_dir),
1423 Cmd("git show refs/branch-heads/7:DEPS", c_deps % "hash_345",
1440 Cmd("git rev-list -1 11.1.1", "v8_previous_version_hash"),
1441 Cmd("git rev-list -1 22.2.2.2", "v8_version_hash"),
1442 Cmd("git checkout -f origin/master", ""),
1443 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], "")