404f8e0c07f11d9d219c06d25c33e280cd88c058,tests/python/twitter/pants/scm/test_git.py,GitTest,setUpClass,#Any#,80
Before Change
subprocess.check_call(["git", "commit", "-am", "initial commit."])
subprocess.check_call(["git", "tag", "-a", "-m", "first tag", "first"])
subprocess.check_call(["git", "push", "--tags", "depot", "master"])
subprocess.check_call(["git", "branch", "--set-upstream", "master", "depot/master"])
with safe_open(cls.readme_file, "w") as readme:
readme.write("Hello World.")
After Change
with environment_as(GIT_DIR=cls.gitdir, GIT_WORK_TREE=cls.worktree):
subprocess.check_call(["git", "init"])
subprocess.check_call(["git", "remote", "add", "depot", cls.origin])
touch(cls.readme_file)
subprocess.check_call(["git", "add", "README"])
subprocess.check_call(["git", "commit", "-am", "initial commit."])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 404f8e0c07f11d9d219c06d25c33e280cd88c058
Time: 2013-05-10
Author: john.sirois@gmail.com
File Name: tests/python/twitter/pants/scm/test_git.py
Class Name: GitTest
Method Name: setUpClass
Project Name: dmlc/gluon-nlp
Commit Name: 55ca9d4c8ea91e3f1d390b5bde5c9ec6bd16b325
Time: 2019-05-15
Author: linhaibin.eric@gmail.com
File Name: scripts/tests/test_scripts.py
Class Name:
Method Name: test_pretrain_hvd
Project Name: pantsbuild/pants
Commit Name: 6f21ea60784ef511cbce116f5c758c4d44376e54
Time: 2013-05-13
Author: benjyw@gmail.com
File Name: tests/python/twitter/pants/scm/test_git.py
Class Name: GitTest
Method Name: setUpClass