/dports/devel/py-pygit2/pygit2-1.7.1/test/ |
H A D | test_branch.py | 40 def test_branches_getitem(testrepo): argument 50 def test_branches(testrepo): argument 54 def test_branches_create(testrepo): argument 55 commit = testrepo[LAST_COMMIT] 69 def test_branches_delete(testrepo): argument 85 def test_branches_rename(testrepo): argument 106 def test_branches_name(testrepo): argument 129 branches = testrepo.branches.with_commit(testrepo[LAST_COMMIT]) 163 def test_create_branch(testrepo): argument 181 def test_delete(testrepo): argument [all …]
|
H A D | test_refs.py | 56 def test_head(testrepo): argument 57 head = testrepo.head 251 repo = testrepo 260 repo = testrepo 276 repo = testrepo 286 repo = testrepo 313 repo = testrepo 406 repo = testrepo 492 repo = testrepo 526 repo = testrepo [all …]
|
H A D | test_repository.py | 45 def test_is_empty(testrepo): argument 48 def test_is_bare(testrepo): argument 74 head = testrepo.head 79 head = testrepo.head 93 head = testrepo.head 98 head = testrepo.head 197 testrepo.reset( 215 testrepo.reset( 236 testrepo.reset( 253 def test_stash(testrepo): argument [all …]
|
H A D | test_apply_diff.py | 34 def read_content(testrepo): argument 45 def old_content(testrepo): argument 50 def patch_diff(testrepo, new_content): argument 55 patch = testrepo.diff().patch 64 def test_apply_type_error(testrepo): argument 67 testrepo.apply('HEAD') 73 assert read_content(testrepo) == new_content 80 assert read_content(testrepo) == old_content 87 assert read_content(testrepo) == new_content 95 assert read_content(testrepo) == old_content [all …]
|
H A D | test_describe.py | 42 def test_describe(testrepo): argument 44 assert 'thetag-2-g2be5719' == testrepo.describe() 46 def test_describe_without_ref(testrepo): argument 49 def test_describe_default_oid(testrepo): argument 52 def test_describe_strategies(testrepo): argument 56 with pytest.raises(KeyError): testrepo.describe() 59 def test_describe_pattern(testrepo): argument 65 def test_describe_committish(testrepo): argument 70 assert 'thetag-4-g2be5719' == testrepo.describe(committish=testrepo.head) 80 def test_describe_abbreviated_size(testrepo): argument [all …]
|
H A D | test_index.py | 42 def test_index(testrepo): argument 45 def test_read(testrepo): argument 46 index = testrepo.index 59 def test_add(testrepo): argument 60 index = testrepo.index 77 clear(testrepo) 91 clear(testrepo) 100 clear(testrepo) 110 clear(testrepo) 153 def test_iter(testrepo): argument [all …]
|
H A D | test_patch.py | 94 old_blob = testrepo[BLOB_OLD_SHA] 95 new_blob = testrepo[BLOB_NEW_SHA] 147 def test_context_lines(testrepo): argument 183 old_blob = testrepo[testrepo.create_blob(BLOB_OLD_CONTENT)] 184 new_blob = testrepo[testrepo.create_blob(BLOB_NEW_CONTENT)] 196 blob = testrepo[testrepo.create_blob(BLOB_OLD_CONTENT)] 207 blob = testrepo[testrepo.create_blob(BLOB_OLD_CONTENT)] 218 blob = testrepo[testrepo.create_blob(BLOB_NEW_CONTENT)] 229 blob = testrepo[BLOB_OLD_SHA] 243 blob = testrepo[BLOB_OLD_SHA] [all …]
|
H A D | test_blob.py | 80 def test_read_blob(testrepo): argument 81 blob = testrepo[BLOB_SHA] 94 blob = testrepo[blob_oid] 115 blob = testrepo[blob_oid] 129 blob = testrepo[blob_oid] 140 blob = testrepo[blob_oid] 151 blob = testrepo[blob_oid] 159 def test_diff_blob(testrepo): argument 160 blob = testrepo[BLOB_SHA] 181 old = testrepo[testrepo.create_blob(BLOB_CONTENT)] [all …]
|
H A D | test_remote.py | 46 def test_remote_create(testrepo): argument 72 def test_remote_delete(testrepo): argument 78 remote = testrepo.remotes[1] 84 def test_remote_rename(testrepo): argument 85 remote = testrepo.remotes[0] 114 def test_refspec(testrepo): argument 156 def test_remote_list(testrepo): argument 158 remote = testrepo.remotes[0] 168 def test_ls_remotes(testrepo): argument 170 remote = testrepo.remotes[0] [all …]
|
H A D | test_object.py | 42 def test_equality(testrepo): argument 52 def test_hashing(testrepo): argument 82 def test_peel_commit(testrepo): argument 85 commit = testrepo[commit_id] 94 commit = testrepo[commit_id] 101 def test_invalid(testrepo): argument 103 commit = testrepo[commit_id] 107 def test_invalid_type(testrepo): argument 113 def test_short_id(testrepo): argument 125 for commit in testrepo.walk(testrepo.head.target): [all …]
|
H A D | test_revparse.py | 35 def test_revparse_single(testrepo): argument 36 o = testrepo.revparse_single('HEAD') 39 o = testrepo.revparse_single('HEAD^') 42 o = testrepo.revparse_single('@{-1}') 46 def test_revparse_ext(testrepo): argument 55 o, r = testrepo.revparse_ext('i18n') 60 def test_revparse_1(testrepo): argument 61 s = testrepo.revparse('master') 67 def test_revparse_range_1(testrepo): argument 74 def test_revparse_range_2(testrepo): argument [all …]
|
H A D | test_revwalk.py | 53 def test_log(testrepo): argument 60 def test_walk(testrepo): argument 64 def test_reverse(testrepo): argument 68 def test_hide(testrepo): argument 73 def test_hide_prefix(testrepo): argument 78 def test_reset(testrepo): argument 83 def test_push(testrepo): argument 90 def test_sort(testrepo): argument 95 def test_simplify_first_parent(testrepo): argument 100 def test_default_sorting(testrepo): argument [all …]
|
H A D | test_refdb_backend.py | 40 def __init__(testrepo, source): argument 41 testrepo.source = source 43 def exists(testrepo, ref): argument 46 def lookup(testrepo, ref): argument 58 def compress(testrepo): argument 61 def has_log(testrepo, ref_name): argument 67 def __iter__(testrepo): argument 68 return iter(testrepo.source) 72 def repo(testrepo): argument 73 testrepo.backend = ProxyRefdbBackend(pygit2.RefdbFsBackend(testrepo)) [all …]
|
H A D | test_packbuilder.py | 37 def test_create_packbuilder(testrepo): argument 39 packbuilder = PackBuilder(testrepo) 43 def test_add(testrepo): argument 45 packbuilder = PackBuilder(testrepo) 46 objects_to_add = [obj for obj in testrepo] 53 def test_add_recursively(testrepo): argument 55 packbuilder = PackBuilder(testrepo) 56 packbuilder.add_recur(testrepo.head.target) 67 def test_repo_pack(testrepo, tmp_path): argument 86 testrepo = pygit2.Repository(path) [all …]
|
H A D | test_attributes.py | 31 def test_no_attr(testrepo): argument 32 assert testrepo.get_attr('file', 'foo') is None 34 with open(join(testrepo.workdir, '.gitattributes'), 'w+') as f: 39 assert testrepo.get_attr('file.py', 'foo') is None 40 assert testrepo.get_attr('file.py', 'text') 41 assert not testrepo.get_attr('file.jpg', 'text') 42 assert "lf" == testrepo.get_attr('file.sh', 'eol') 45 def test_no_attr_aspath(testrepo): argument 46 with open(join(testrepo.workdir, '.gitattributes'), 'w+') as f: 49 assert testrepo.get_attr(Path('file.py'), 'text')
|
H A D | test_archive.py | 55 def test_write_tree(testrepo): argument 56 check_writing(testrepo, TREE_HASH) 57 check_writing(testrepo, Oid(hex=TREE_HASH)) 58 check_writing(testrepo, testrepo[TREE_HASH]) 60 def test_write_commit(testrepo): argument 61 commit_timestamp = testrepo[COMMIT_HASH].committer.time 62 check_writing(testrepo, COMMIT_HASH, commit_timestamp) 63 check_writing(testrepo, Oid(hex=COMMIT_HASH), commit_timestamp) 64 check_writing(testrepo, testrepo[COMMIT_HASH], commit_timestamp)
|
H A D | test_credentials.py | 127 def test_callback(testrepo): argument 129 def credentials(testrepo, url, username, allowed): argument 134 remote = testrepo.remotes.create("github", url) 138 def test_bad_cred_type(testrepo): argument 145 remote = testrepo.remotes.create("github", url) 149 def test_fetch_certificate_check(testrepo): argument 158 remote = testrepo.remotes.create('https', url) 173 def test_user_pass(testrepo): argument 178 remote = testrepo.remotes.create("bb", url) 185 def test_proxy(testrepo): argument [all …]
|
H A D | test_blame.py | 48 def test_blame_index(testrepo): argument 49 blame = testrepo.blame(PATH) 82 def test_blame_with_invalid_index(testrepo): argument 83 blame = testrepo.blame(PATH) 91 def test_blame_for_line(testrepo): argument 92 blame = testrepo.blame(PATH) 107 def test_blame_with_invalid_line(testrepo): argument 108 blame = testrepo.blame(PATH) 117 def test_blame_newest(testrepo): argument 125 commit = testrepo.revparse_single(rev) [all …]
|
H A D | test_repository_custom.py | 34 testrepo = testrepopacked 37 object_path = os.path.join(testrepo.path, 'objects') 41 refdb = pygit2.Refdb.new(testrepo) 42 refdb.set_backend(pygit2.RefdbFsBackend(testrepo))
|
/dports/devel/hs-darcs/darcs-2.16.4/tests/network/ |
H A D | ssh.sh | 49 [ -d testrepo ] 50 [ -d testrepo/_darcs ] 51 [ -f testrepo/a ] 56 mkdir testrepo 57 cd testrepo 63 darcs clone ${DARCS_SSH_FLAGS} testrepo testrepo-pull 64 cd testrepo-pull 72 darcs clone ${DARCS_SSH_FLAGS} testrepo testrepo-push 73 cd testrepo-push 88 cd testrepo [all …]
|
/dports/archivers/py-borgbackup/borgbackup-1.1.17/docs/usage/ |
H A D | diff.rst | 7 $ borg init -e=none testrepo 13 $ borg create ../testrepo::archive1 . 17 $ borg create ../testrepo::archive2 . 22 $ borg create ../testrepo::archive3 . 25 $ borg diff testrepo::archive1 archive2 29 $ borg diff testrepo::archive2 archive3 34 $ borg diff testrepo::archive1 archive3 40 $ borg diff --json-lines testrepo::archive1 archive3
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/git/test/fixtures/ |
H A D | uncommon_branch_prefix_FETCH_HEAD | 1 c2e3c20affa3e2b61a05fdc9ee3061dd416d915e 'refs/pull/1/head' of http://github.com/loic-bot/testrepo 2 fd8695d980e2c6df62b7785f93fd6292d1e283fb 'refs/pull/1/merge' of http://github.com/loic-bot/testrepo 3 bb46faf089720d1a3f9e4dc3b11ed5ff77d7e764 'refs/pull/2/head' of http://github.com/loic-bot/testrepo 4 5faa366d58454eceea811e0e34c502bdd7b37e4b 'refs/pull/2/merge' of http://github.com/loic-bot/testrepo 5 b3ad3c4f1864b50d4d3e09320947a1a3c34c9ea2 'refs/pull/3/head' of http://github.com/loic-bot/testrepo 6 71fe57e511776042b009ed4bb281b62b0522b434 'refs/pull/3/merge' of http://github.com/loic-bot/testrepo
|
/dports/devel/libgit2/libgit2-1.3.0/tests/resources/submodule_simple/ |
H A D | .gitmodules | 1 [submodule "testrepo"] 2 path = testrepo 3 url = ../testrepo.git
|
/dports/devel/libgit2/libgit2-1.3.0/tests/resources/submodule_with_path/ |
H A D | .gitmodules | 1 [submodule "testrepo"] 2 path = lib/testrepo 3 url = ../testrepo.git
|
/dports/devel/libgit2/libgit2-1.3.0/tests/resources/submodules/ |
H A D | gitmodules | 1 [submodule "testrepo"] 2 path = testrepo 5 path = testrepo
|