ohloh_scm 2.5.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/{bin → .bin}/accept_svn_ssl_certificate +0 -0
- data/.bin/check_scm_version +28 -0
- data/.bin/run-test +3 -0
- data/.bin/run-tests +3 -0
- data/{bin → .bin}/string_encoder +0 -0
- data/.git_hooks/pre-commit +20 -0
- data/.gitignore +1 -4
- data/.rubocop.yml +13 -0
- data/.ruby-version +1 -2
- data/.travis.yml +3 -2
- data/Dockerfile +8 -4
- data/Gemfile +14 -0
- data/Gemfile.lock +54 -0
- data/{COPYING → LICENSE.txt} +0 -0
- data/README.md +52 -116
- data/Rakefile +7 -29
- data/lib/ohloh_scm.rb +26 -32
- data/lib/ohloh_scm/activity.rb +38 -0
- data/lib/ohloh_scm/bzr.rb +12 -0
- data/lib/ohloh_scm/bzr/activity.rb +191 -0
- data/lib/ohloh_scm/bzr/scm.rb +24 -0
- data/lib/ohloh_scm/bzr/status.rb +8 -0
- data/lib/ohloh_scm/bzr/validation.rb +18 -0
- data/lib/ohloh_scm/commit.rb +44 -41
- data/lib/ohloh_scm/core.rb +22 -0
- data/lib/ohloh_scm/cvs.rb +11 -0
- data/lib/ohloh_scm/cvs/activity.rb +149 -0
- data/lib/ohloh_scm/cvs/scm.rb +149 -0
- data/lib/ohloh_scm/cvs/status.rb +14 -0
- data/lib/ohloh_scm/cvs/validation.rb +106 -0
- data/lib/ohloh_scm/data/git_ignore_list.rb +29 -0
- data/lib/ohloh_scm/diff.rb +42 -39
- data/lib/ohloh_scm/factory.rb +11 -0
- data/lib/ohloh_scm/git.rb +11 -0
- data/lib/ohloh_scm/git/activity.rb +317 -0
- data/lib/ohloh_scm/git/scm.rb +137 -0
- data/lib/ohloh_scm/git/status.rb +13 -0
- data/lib/ohloh_scm/git/validation.rb +18 -0
- data/lib/ohloh_scm/git_svn.rb +11 -0
- data/lib/ohloh_scm/git_svn/activity.rb +84 -0
- data/lib/ohloh_scm/git_svn/scm.rb +91 -0
- data/lib/ohloh_scm/git_svn/status.rb +8 -0
- data/lib/ohloh_scm/git_svn/validation.rb +8 -0
- data/lib/ohloh_scm/hg.rb +12 -0
- data/lib/ohloh_scm/hg/activity.rb +188 -0
- data/lib/ohloh_scm/hg/scm.rb +51 -0
- data/lib/ohloh_scm/hg/status.rb +8 -0
- data/lib/ohloh_scm/hg/validation.rb +18 -0
- data/lib/ohloh_scm/parser.rb +30 -0
- data/lib/ohloh_scm/parser/array_writer.rb +15 -0
- data/lib/ohloh_scm/parser/branch_number.rb +63 -0
- data/lib/ohloh_scm/{parsers → parser}/bzr_xml_parser.rb +65 -55
- data/lib/ohloh_scm/parser/cvs_parser.rb +161 -0
- data/lib/ohloh_scm/parser/git_parser.rb +128 -0
- data/lib/ohloh_scm/parser/hg_parser.rb +78 -0
- data/lib/ohloh_scm/{parsers → parser}/hg_style +0 -0
- data/lib/ohloh_scm/{parsers → parser}/hg_verbose_style +0 -0
- data/lib/ohloh_scm/parser/svn_parser.rb +83 -0
- data/lib/ohloh_scm/py_bridge.rb +9 -0
- data/lib/ohloh_scm/py_bridge/bzr_client.rb +28 -0
- data/lib/ohloh_scm/{adapters/bzrlib/bzrlib_pipe_server.py → py_bridge/bzr_server.py} +1 -1
- data/lib/ohloh_scm/py_bridge/hg_client.rb +30 -0
- data/lib/ohloh_scm/{adapters/hglib/server.py → py_bridge/hg_server.py} +0 -0
- data/lib/ohloh_scm/py_bridge/py_client.rb +45 -0
- data/lib/ohloh_scm/scm.rb +26 -0
- data/lib/ohloh_scm/status.rb +24 -0
- data/lib/ohloh_scm/string_extensions.rb +11 -0
- data/lib/ohloh_scm/svn.rb +11 -0
- data/lib/ohloh_scm/svn/activity.rb +95 -0
- data/lib/ohloh_scm/svn/scm.rb +95 -0
- data/lib/ohloh_scm/svn/status.rb +8 -0
- data/lib/ohloh_scm/svn/validation.rb +56 -0
- data/lib/ohloh_scm/system.rb +44 -0
- data/lib/ohloh_scm/validation.rb +83 -0
- data/lib/ohloh_scm/version.rb +8 -1
- data/ohloh_scm.gemspec +18 -15
- data/spec/.rubocop.yml +22 -0
- data/spec/benchmarks/hg_bzr_bash_vs_py_api.rb +39 -0
- data/spec/benchmarks/process_spawn_benchmark.rb +133 -0
- data/spec/helpers/assert_scm_attr_helper.rb +31 -0
- data/spec/helpers/commit_tokens_helper.rb +26 -0
- data/spec/helpers/generic_helper.rb +5 -0
- data/spec/helpers/repository_helper.rb +36 -0
- data/spec/helpers/system_helper.rb +25 -0
- data/spec/ohloh_scm/bzr/activity_spec.rb +460 -0
- data/spec/ohloh_scm/bzr/scm_spec.rb +17 -0
- data/spec/ohloh_scm/bzr/validation_spec.rb +37 -0
- data/spec/ohloh_scm/cvs/activity_spec.rb +93 -0
- data/spec/ohloh_scm/cvs/scm_spec.rb +112 -0
- data/spec/ohloh_scm/cvs/validation_spec.rb +78 -0
- data/spec/ohloh_scm/factory_spec.rb +16 -0
- data/spec/ohloh_scm/git/activity_spec.rb +402 -0
- data/spec/ohloh_scm/git/scm_spec.rb +57 -0
- data/spec/ohloh_scm/git/status_spec.rb +11 -0
- data/spec/ohloh_scm/git/validation_spec.rb +57 -0
- data/spec/ohloh_scm/git_svn/activity_spec.rb +89 -0
- data/spec/ohloh_scm/git_svn/scm_spec.rb +22 -0
- data/spec/ohloh_scm/hg/activity_spec.rb +323 -0
- data/spec/ohloh_scm/hg/scm_spec.rb +23 -0
- data/spec/ohloh_scm/hg/status_spec.rb +12 -0
- data/spec/ohloh_scm/hg/validation_spec.rb +32 -0
- data/spec/ohloh_scm/parser/array_writer_spec.rb +29 -0
- data/spec/ohloh_scm/parser/branch_number_spec.rb +126 -0
- data/spec/ohloh_scm/parser/cvs_parser_spec.rb +77 -0
- data/spec/ohloh_scm/parser/git_parser_spec.rb +102 -0
- data/spec/ohloh_scm/parser/hg_parser_spec.rb +194 -0
- data/spec/ohloh_scm/svn/activity_spec.rb +55 -0
- data/spec/ohloh_scm/svn/scm_spec.rb +75 -0
- data/spec/ohloh_scm/svn/validation_spec.rb +89 -0
- data/spec/ohloh_scm/svn_parser_spec.rb +146 -0
- data/spec/ohloh_scm/system_spec.rb +32 -0
- data/spec/ohloh_scm/version_spec.rb +9 -0
- data/{test/data → spec/raw_fixtures}/basic.rlog +0 -0
- data/{test/data → spec/raw_fixtures}/file_created_on_branch.rlog +0 -0
- data/{test/data → spec/raw_fixtures}/invalid-utf-word +0 -0
- data/{test/data → spec/raw_fixtures}/multiple_revisions.rlog +0 -0
- data/{test/data → spec/raw_fixtures}/sample-content +0 -0
- data/{test/data → spec/raw_fixtures}/simple.ohlog +1 -1
- data/{test/data → spec/raw_fixtures}/simple.svn_log +0 -0
- data/{test/data → spec/raw_fixtures}/simultaneous_checkins.rlog +0 -0
- data/{test/data → spec/raw_fixtures}/simultaneous_checkins_2.rlog +0 -0
- data/spec/scm_fixtures/bzr.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/bzr_colon.tgz +0 -0
- data/spec/scm_fixtures/bzr_large.tgz +0 -0
- data/spec/scm_fixtures/bzr_with_authors.tgz +0 -0
- data/spec/scm_fixtures/bzr_with_branch.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/bzr_with_invalid_encoding.tgz +0 -0
- data/spec/scm_fixtures/bzr_with_nested_branches.tgz +0 -0
- data/spec/scm_fixtures/bzr_with_subdirectories.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/cvs.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_dupe_delete.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_svn.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_walk.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_with_invalid_encoding.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_with_master_tag.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_with_multiple_branch.tgz +0 -0
- data/spec/scm_fixtures/git_with_mv.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/git_with_null_merge.tgz +0 -0
- data/spec/scm_fixtures/git_with_submodules.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/hg.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/hg_dupe_delete.tgz +0 -0
- data/spec/scm_fixtures/hg_large.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/hg_walk.tgz +0 -0
- data/{test/repositories → spec/scm_fixtures}/hg_with_invalid_encoding.tgz +0 -0
- data/spec/scm_fixtures/svn.tgz +0 -0
- data/spec/scm_fixtures/svn_subdir.tgz +0 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/string_encoder_spec.rb +32 -0
- metadata +224 -1052
- data/bin/ohlog +0 -152
- data/lib/ohloh_scm/adapters/abstract/misc.rb +0 -12
- data/lib/ohloh_scm/adapters/abstract/sha1.rb +0 -48
- data/lib/ohloh_scm/adapters/abstract/system.rb +0 -60
- data/lib/ohloh_scm/adapters/abstract/validation.rb +0 -77
- data/lib/ohloh_scm/adapters/abstract_adapter.rb +0 -32
- data/lib/ohloh_scm/adapters/bzr/cat_file.rb +0 -25
- data/lib/ohloh_scm/adapters/bzr/commits.rb +0 -100
- data/lib/ohloh_scm/adapters/bzr/head.rb +0 -19
- data/lib/ohloh_scm/adapters/bzr/misc.rb +0 -61
- data/lib/ohloh_scm/adapters/bzr/pull.rb +0 -22
- data/lib/ohloh_scm/adapters/bzr/push.rb +0 -51
- data/lib/ohloh_scm/adapters/bzr/validation.rb +0 -16
- data/lib/ohloh_scm/adapters/bzr_adapter.rb +0 -15
- data/lib/ohloh_scm/adapters/bzrlib/bzrlib_pipe_client.rb +0 -71
- data/lib/ohloh_scm/adapters/bzrlib/cat_file.rb +0 -9
- data/lib/ohloh_scm/adapters/bzrlib/head.rb +0 -9
- data/lib/ohloh_scm/adapters/bzrlib_adapter.rb +0 -25
- data/lib/ohloh_scm/adapters/cvs/commits.rb +0 -97
- data/lib/ohloh_scm/adapters/cvs/misc.rb +0 -212
- data/lib/ohloh_scm/adapters/cvs/validation.rb +0 -77
- data/lib/ohloh_scm/adapters/cvs_adapter.rb +0 -18
- data/lib/ohloh_scm/adapters/factory.rb +0 -38
- data/lib/ohloh_scm/adapters/git/cat_file.rb +0 -16
- data/lib/ohloh_scm/adapters/git/commit_all.rb +0 -141
- data/lib/ohloh_scm/adapters/git/commits.rb +0 -122
- data/lib/ohloh_scm/adapters/git/head.rb +0 -21
- data/lib/ohloh_scm/adapters/git/misc.rb +0 -107
- data/lib/ohloh_scm/adapters/git/patch.rb +0 -9
- data/lib/ohloh_scm/adapters/git/pull.rb +0 -124
- data/lib/ohloh_scm/adapters/git/push.rb +0 -39
- data/lib/ohloh_scm/adapters/git/token.rb +0 -53
- data/lib/ohloh_scm/adapters/git/validation.rb +0 -50
- data/lib/ohloh_scm/adapters/git_adapter.rb +0 -18
- data/lib/ohloh_scm/adapters/git_svn/cat_file.rb +0 -22
- data/lib/ohloh_scm/adapters/git_svn/commits.rb +0 -57
- data/lib/ohloh_scm/adapters/git_svn/head.rb +0 -9
- data/lib/ohloh_scm/adapters/git_svn/misc.rb +0 -24
- data/lib/ohloh_scm/adapters/git_svn/pull.rb +0 -80
- data/lib/ohloh_scm/adapters/git_svn_adapter.rb +0 -13
- data/lib/ohloh_scm/adapters/hg/cat_file.rb +0 -28
- data/lib/ohloh_scm/adapters/hg/commits.rb +0 -112
- data/lib/ohloh_scm/adapters/hg/head.rb +0 -29
- data/lib/ohloh_scm/adapters/hg/misc.rb +0 -40
- data/lib/ohloh_scm/adapters/hg/patch.rb +0 -9
- data/lib/ohloh_scm/adapters/hg/pull.rb +0 -23
- data/lib/ohloh_scm/adapters/hg/push.rb +0 -51
- data/lib/ohloh_scm/adapters/hg/validation.rb +0 -26
- data/lib/ohloh_scm/adapters/hg_adapter.rb +0 -21
- data/lib/ohloh_scm/adapters/hglib/cat_file.rb +0 -14
- data/lib/ohloh_scm/adapters/hglib/client.rb +0 -62
- data/lib/ohloh_scm/adapters/hglib/head.rb +0 -9
- data/lib/ohloh_scm/adapters/hglib_adapter.rb +0 -25
- data/lib/ohloh_scm/adapters/svn/cat_file.rb +0 -19
- data/lib/ohloh_scm/adapters/svn/commits.rb +0 -195
- data/lib/ohloh_scm/adapters/svn/head.rb +0 -19
- data/lib/ohloh_scm/adapters/svn/misc.rb +0 -171
- data/lib/ohloh_scm/adapters/svn/patch.rb +0 -8
- data/lib/ohloh_scm/adapters/svn/pre-revprop-change +0 -2
- data/lib/ohloh_scm/adapters/svn/pull.rb +0 -77
- data/lib/ohloh_scm/adapters/svn/push.rb +0 -15
- data/lib/ohloh_scm/adapters/svn/validation.rb +0 -87
- data/lib/ohloh_scm/adapters/svn_adapter.rb +0 -17
- data/lib/ohloh_scm/adapters/svn_chain/cat_file.rb +0 -8
- data/lib/ohloh_scm/adapters/svn_chain/chain.rb +0 -100
- data/lib/ohloh_scm/adapters/svn_chain/commits.rb +0 -37
- data/lib/ohloh_scm/adapters/svn_chain_adapter.rb +0 -44
- data/lib/ohloh_scm/parsers/array_writer.rb +0 -19
- data/lib/ohloh_scm/parsers/branch_number.rb +0 -60
- data/lib/ohloh_scm/parsers/bzr_parser.rb +0 -128
- data/lib/ohloh_scm/parsers/cvs_parser.rb +0 -182
- data/lib/ohloh_scm/parsers/git_parser.rb +0 -67
- data/lib/ohloh_scm/parsers/git_styled_parser.rb +0 -95
- data/lib/ohloh_scm/parsers/hg_parser.rb +0 -63
- data/lib/ohloh_scm/parsers/hg_styled_parser.rb +0 -65
- data/lib/ohloh_scm/parsers/human_writer.rb +0 -49
- data/lib/ohloh_scm/parsers/parser.rb +0 -34
- data/lib/ohloh_scm/parsers/svn_parser.rb +0 -77
- data/lib/ohloh_scm/parsers/svn_xml_parser.rb +0 -62
- data/lib/ohloh_scm/parsers/xml_writer.rb +0 -62
- data/lib/ohloh_scm/scratch_dir.rb +0 -59
- data/lib/ohloh_scm/shellout.rb +0 -40
- data/log/.gitignore +0 -1
- data/test/bin/svn +0 -7
- data/test/data/basic.ohlog +0 -11
- data/test/data/branch_merge.bzr_xml_log +0 -87
- data/test/data/git_patch.diff +0 -19
- data/test/data/helloworld.log +0 -41
- data/test/data/hg_patch.diff +0 -9
- data/test/data/intelliglue.rlog +0 -1216
- data/test/data/multiple_commits.rlog +0 -64
- data/test/data/simple.bzr_xml_log +0 -41
- data/test/data/simple.svn_xml_log +0 -66
- data/test/data/svn_patch.diff +0 -9
- data/test/data/svn_with_invalid_encoding.log +0 -33
- data/test/repositories/bzr/.bzr/README +0 -3
- data/test/repositories/bzr/.bzr/branch-format +0 -1
- data/test/repositories/bzr/.bzr/branch/branch.conf +0 -0
- data/test/repositories/bzr/.bzr/branch/format +0 -1
- data/test/repositories/bzr/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr/.bzr/branch/tags +0 -1
- data/test/repositories/bzr/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr/.bzr/checkout/format +0 -1
- data/test/repositories/bzr/.bzr/repository/format +0 -1
- data/test/repositories/bzr/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/62f9cada7c58bce361b9b852d180ff56.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/62f9cada7c58bce361b9b852d180ff56.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/62f9cada7c58bce361b9b852d180ff56.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/62f9cada7c58bce361b9b852d180ff56.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.tix +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.iix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.rix +0 -0
- data/test/repositories/bzr/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.six +0 -5
- data/test/repositories/bzr/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.tix +0 -0
- data/test/repositories/bzr/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/0428489d1a03d05c496c2c429fe96e90.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/62f9cada7c58bce361b9b852d180ff56.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/71af8bae249bcb824a4ff17c62029142.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/7202eb77b81a80eca5296f317ed42149.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/8a571ba35ee54cd133b71e967442fe17.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/a06b9c10004fc3e05affee8cf0a9febd.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/packs/f35e1020b6a55c81b6d2fe4c7bcd4645.pack +0 -0
- data/test/repositories/bzr/.bzr/repository/upload/.gitignore +0 -1
- data/test/repositories/bzr/C/303/251dric.txt +0 -2
- data/test/repositories/bzr/file1.txt +0 -2
- data/test/repositories/bzr/file3.txt +0 -1
- data/test/repositories/bzr/file4.txt +0 -1
- data/test/repositories/bzr/file5.txt +0 -4
- data/test/repositories/bzr_hello_world/.bzr/README +0 -3
- data/test/repositories/bzr_hello_world/.bzr/branch-format +0 -1
- data/test/repositories/bzr_hello_world/.bzr/branch/branch.conf +0 -0
- data/test/repositories/bzr_hello_world/.bzr/branch/format +0 -1
- data/test/repositories/bzr_hello_world/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr_hello_world/.bzr/branch/tags +0 -0
- data/test/repositories/bzr_hello_world/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr_hello_world/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr_hello_world/.bzr/checkout/format +0 -1
- data/test/repositories/bzr_hello_world/.bzr/repository/format +0 -1
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/a7cd0d6de5d8b3efdd5f61a4caeda296.iix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/a7cd0d6de5d8b3efdd5f61a4caeda296.rix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/a7cd0d6de5d8b3efdd5f61a4caeda296.six +0 -5
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/a7cd0d6de5d8b3efdd5f61a4caeda296.tix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/ed1e97c1213220a92ff857169867a7b3.iix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/ed1e97c1213220a92ff857169867a7b3.rix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/ed1e97c1213220a92ff857169867a7b3.six +0 -5
- data/test/repositories/bzr_hello_world/.bzr/repository/indices/ed1e97c1213220a92ff857169867a7b3.tix +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/packs/a7cd0d6de5d8b3efdd5f61a4caeda296.pack +0 -0
- data/test/repositories/bzr_hello_world/.bzr/repository/packs/ed1e97c1213220a92ff857169867a7b3.pack +0 -0
- data/test/repositories/bzr_hello_world/helloworld.c +0 -6
- data/test/repositories/bzr_with_authors/.bzr/README +0 -3
- data/test/repositories/bzr_with_authors/.bzr/branch-format +0 -1
- data/test/repositories/bzr_with_authors/.bzr/branch/branch.conf +0 -0
- data/test/repositories/bzr_with_authors/.bzr/branch/format +0 -1
- data/test/repositories/bzr_with_authors/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr_with_authors/.bzr/branch/tags +0 -0
- data/test/repositories/bzr_with_authors/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr_with_authors/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr_with_authors/.bzr/checkout/format +0 -1
- data/test/repositories/bzr_with_authors/.bzr/checkout/views +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/format +0 -1
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/1326ecee2f4f69991771137c5307689a.cix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/1326ecee2f4f69991771137c5307689a.iix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/1326ecee2f4f69991771137c5307689a.rix +0 -6
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/1326ecee2f4f69991771137c5307689a.six +0 -5
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/1326ecee2f4f69991771137c5307689a.tix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/adf730b6cf7c7959afcedb87e155654d.cix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/adf730b6cf7c7959afcedb87e155654d.iix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/adf730b6cf7c7959afcedb87e155654d.rix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/adf730b6cf7c7959afcedb87e155654d.six +0 -5
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/adf730b6cf7c7959afcedb87e155654d.tix +0 -6
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/d2613fcfb5e48e79073b96270782f95c.cix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/d2613fcfb5e48e79073b96270782f95c.iix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/d2613fcfb5e48e79073b96270782f95c.rix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/d2613fcfb5e48e79073b96270782f95c.six +0 -5
- data/test/repositories/bzr_with_authors/.bzr/repository/indices/d2613fcfb5e48e79073b96270782f95c.tix +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/packs/1326ecee2f4f69991771137c5307689a.pack +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/packs/adf730b6cf7c7959afcedb87e155654d.pack +0 -0
- data/test/repositories/bzr_with_authors/.bzr/repository/packs/d2613fcfb5e48e79073b96270782f95c.pack +0 -0
- data/test/repositories/bzr_with_authors/test.txt +0 -1
- data/test/repositories/bzr_with_branch/.bzr/README +0 -3
- data/test/repositories/bzr_with_branch/.bzr/branch-format +0 -1
- data/test/repositories/bzr_with_branch/.bzr/branch/branch.conf +0 -1
- data/test/repositories/bzr_with_branch/.bzr/branch/format +0 -1
- data/test/repositories/bzr_with_branch/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr_with_branch/.bzr/branch/tags +0 -0
- data/test/repositories/bzr_with_branch/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr_with_branch/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr_with_branch/.bzr/checkout/format +0 -1
- data/test/repositories/bzr_with_branch/.bzr/checkout/merge-hashes +0 -3
- data/test/repositories/bzr_with_branch/.bzr/repository/format +0 -1
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/3336f250dbe86a7eec2de4c1b1f97db7.iix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/3336f250dbe86a7eec2de4c1b1f97db7.rix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/3336f250dbe86a7eec2de4c1b1f97db7.six +0 -5
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/3336f250dbe86a7eec2de4c1b1f97db7.tix +0 -5
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/47cfe65310e6d462bb87a68fff0bc162.iix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/47cfe65310e6d462bb87a68fff0bc162.rix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/47cfe65310e6d462bb87a68fff0bc162.six +0 -5
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/47cfe65310e6d462bb87a68fff0bc162.tix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/64e98edbf1aebe6f532f2f93b24eead8.iix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/64e98edbf1aebe6f532f2f93b24eead8.rix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/64e98edbf1aebe6f532f2f93b24eead8.six +0 -5
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/64e98edbf1aebe6f532f2f93b24eead8.tix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/8008794e258fc3fa4be68d538312a91c.iix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/8008794e258fc3fa4be68d538312a91c.rix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/8008794e258fc3fa4be68d538312a91c.six +0 -5
- data/test/repositories/bzr_with_branch/.bzr/repository/indices/8008794e258fc3fa4be68d538312a91c.tix +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/packs/3336f250dbe86a7eec2de4c1b1f97db7.pack +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/packs/47cfe65310e6d462bb87a68fff0bc162.pack +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/packs/64e98edbf1aebe6f532f2f93b24eead8.pack +0 -0
- data/test/repositories/bzr_with_branch/.bzr/repository/packs/8008794e258fc3fa4be68d538312a91c.pack +0 -0
- data/test/repositories/bzr_with_branch/goodbyeworld.c +0 -5
- data/test/repositories/bzr_with_branch/helloworld.c +0 -6
- data/test/repositories/bzr_with_nested_branches/.bzr/README +0 -3
- data/test/repositories/bzr_with_nested_branches/.bzr/branch-format +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/branch/branch.conf +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/branch/format +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/branch/tags +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/checkout/format +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/checkout/merge-hashes +0 -6
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/format +0 -1
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/0428489d1a03d05c496c2c429fe96e90.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/30fcaac048e328a7727156986055f6e8.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/30fcaac048e328a7727156986055f6e8.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/30fcaac048e328a7727156986055f6e8.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/30fcaac048e328a7727156986055f6e8.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/673cc297ed321f667e1d8d4fff600829.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/673cc297ed321f667e1d8d4fff600829.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/673cc297ed321f667e1d8d4fff600829.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/673cc297ed321f667e1d8d4fff600829.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/71af8bae249bcb824a4ff17c62029142.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/7202eb77b81a80eca5296f317ed42149.tix +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/8a571ba35ee54cd133b71e967442fe17.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/a06b9c10004fc3e05affee8cf0a9febd.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/da6c79a024c70fd6831e323430a96cc8.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/da6c79a024c70fd6831e323430a96cc8.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/da6c79a024c70fd6831e323430a96cc8.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/da6c79a024c70fd6831e323430a96cc8.tix +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.iix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.rix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.six +0 -5
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/indices/f35e1020b6a55c81b6d2fe4c7bcd4645.tix +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/0428489d1a03d05c496c2c429fe96e90.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/30fcaac048e328a7727156986055f6e8.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/673cc297ed321f667e1d8d4fff600829.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/71af8bae249bcb824a4ff17c62029142.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/7202eb77b81a80eca5296f317ed42149.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/8a571ba35ee54cd133b71e967442fe17.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/a06b9c10004fc3e05affee8cf0a9febd.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/da6c79a024c70fd6831e323430a96cc8.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/packs/f35e1020b6a55c81b6d2fe4c7bcd4645.pack +0 -0
- data/test/repositories/bzr_with_nested_branches/.bzr/repository/upload/.gitignore +0 -1
- data/test/repositories/bzr_with_nested_branches/file1.txt +0 -2
- data/test/repositories/bzr_with_nested_branches/file3.txt +0 -1
- data/test/repositories/bzr_with_nested_branches/file4.txt +0 -1
- data/test/repositories/bzr_with_nested_branches/file5.txt +0 -4
- data/test/repositories/bzr_with_nested_branches/file6.txt +0 -2
- data/test/repositories/bzr_with_nested_branches/file7.txt +0 -2
- data/test/repositories/bzr_with_subdirectories/.bzr/README +0 -3
- data/test/repositories/bzr_with_subdirectories/.bzr/branch-format +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/branch/branch.conf +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/branch/format +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/branch/last-revision +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/branch/tags +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/checkout/conflicts +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/checkout/dirstate +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/checkout/format +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/format +0 -1
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/indices/6eb92b11d9f811881dd08e0ca71e136d.iix +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/indices/6eb92b11d9f811881dd08e0ca71e136d.rix +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/indices/6eb92b11d9f811881dd08e0ca71e136d.six +0 -5
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/indices/6eb92b11d9f811881dd08e0ca71e136d.tix +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/pack-names +0 -0
- data/test/repositories/bzr_with_subdirectories/.bzr/repository/packs/6eb92b11d9f811881dd08e0ca71e136d.pack +0 -0
- data/test/repositories/bzr_with_subdirectories/foo/helloworld.c +0 -0
- data/test/repositories/deep_svn/README.txt +0 -5
- data/test/repositories/deep_svn/conf/authz +0 -21
- data/test/repositories/deep_svn/conf/passwd +0 -8
- data/test/repositories/deep_svn/conf/svnserve.conf +0 -30
- data/test/repositories/deep_svn/db/current +0 -1
- data/test/repositories/deep_svn/db/format +0 -1
- data/test/repositories/deep_svn/db/fs-type +0 -1
- data/test/repositories/deep_svn/db/revprops/0 +0 -5
- data/test/repositories/deep_svn/db/revprops/1 +0 -14
- data/test/repositories/deep_svn/db/revprops/2 +0 -14
- data/test/repositories/deep_svn/db/revprops/3 +0 -14
- data/test/repositories/deep_svn/db/revprops/4 +0 -14
- data/test/repositories/deep_svn/db/revs/0 +0 -11
- data/test/repositories/deep_svn/db/revs/1 +0 -122
- data/test/repositories/deep_svn/db/revs/2 +0 -19
- data/test/repositories/deep_svn/db/revs/3 +0 -44
- data/test/repositories/deep_svn/db/revs/4 +0 -48
- data/test/repositories/deep_svn/db/uuid +0 -1
- data/test/repositories/deep_svn/db/write-lock +0 -0
- data/test/repositories/deep_svn/format +0 -1
- data/test/repositories/deep_svn/hooks/post-commit.tmpl +0 -51
- data/test/repositories/deep_svn/hooks/post-lock.tmpl +0 -44
- data/test/repositories/deep_svn/hooks/post-revprop-change.tmpl +0 -56
- data/test/repositories/deep_svn/hooks/post-unlock.tmpl +0 -42
- data/test/repositories/deep_svn/hooks/pre-commit.tmpl +0 -70
- data/test/repositories/deep_svn/hooks/pre-lock.tmpl +0 -64
- data/test/repositories/deep_svn/hooks/pre-revprop-change.tmpl +0 -66
- data/test/repositories/deep_svn/hooks/pre-unlock.tmpl +0 -60
- data/test/repositories/deep_svn/hooks/start-commit.tmpl +0 -54
- data/test/repositories/deep_svn/locks/db-logs.lock +0 -3
- data/test/repositories/deep_svn/locks/db.lock +0 -3
- data/test/repositories/git_with_empty_merge.tgz +0 -0
- data/test/repositories/svn/README.txt +0 -5
- data/test/repositories/svn/conf/authz +0 -21
- data/test/repositories/svn/conf/passwd +0 -8
- data/test/repositories/svn/conf/svnserve.conf +0 -30
- data/test/repositories/svn/db/current +0 -1
- data/test/repositories/svn/db/format +0 -1
- data/test/repositories/svn/db/fs-type +0 -1
- data/test/repositories/svn/db/revprops/0 +0 -5
- data/test/repositories/svn/db/revprops/1 +0 -14
- data/test/repositories/svn/db/revprops/2 +0 -13
- data/test/repositories/svn/db/revprops/3 +0 -13
- data/test/repositories/svn/db/revprops/4 +0 -13
- data/test/repositories/svn/db/revprops/5 +0 -13
- data/test/repositories/svn/db/revprops/6 +0 -12
- data/test/repositories/svn/db/revs/0 +0 -11
- data/test/repositories/svn/db/revs/1 +0 -0
- data/test/repositories/svn/db/revs/2 +0 -0
- data/test/repositories/svn/db/revs/3 +0 -0
- data/test/repositories/svn/db/revs/4 +0 -0
- data/test/repositories/svn/db/revs/5 +0 -64
- data/test/repositories/svn/db/revs/6 +0 -50
- data/test/repositories/svn/db/uuid +0 -1
- data/test/repositories/svn/db/write-lock +0 -0
- data/test/repositories/svn/format +0 -1
- data/test/repositories/svn/hooks/post-commit.tmpl +0 -51
- data/test/repositories/svn/hooks/post-lock.tmpl +0 -44
- data/test/repositories/svn/hooks/post-revprop-change.tmpl +0 -56
- data/test/repositories/svn/hooks/post-unlock.tmpl +0 -42
- data/test/repositories/svn/hooks/pre-commit.tmpl +0 -70
- data/test/repositories/svn/hooks/pre-lock.tmpl +0 -64
- data/test/repositories/svn/hooks/pre-revprop-change +0 -67
- data/test/repositories/svn/hooks/pre-unlock.tmpl +0 -60
- data/test/repositories/svn/hooks/start-commit.tmpl +0 -54
- data/test/repositories/svn/locks/db-logs.lock +0 -3
- data/test/repositories/svn/locks/db.lock +0 -3
- data/test/repositories/svn_empty/README.txt +0 -5
- data/test/repositories/svn_empty/conf/authz +0 -32
- data/test/repositories/svn_empty/conf/hooks-env.tmpl +0 -19
- data/test/repositories/svn_empty/conf/passwd +0 -8
- data/test/repositories/svn_empty/conf/svnserve.conf +0 -76
- data/test/repositories/svn_empty/db/current +0 -1
- data/test/repositories/svn_empty/db/format +0 -2
- data/test/repositories/svn_empty/db/fs-type +0 -1
- data/test/repositories/svn_empty/db/fsfs.conf +0 -125
- data/test/repositories/svn_empty/db/min-unpacked-rev +0 -1
- data/test/repositories/svn_empty/db/revprops/0/0 +0 -5
- data/test/repositories/svn_empty/db/revs/0/0 +0 -11
- data/test/repositories/svn_empty/db/txn-current +0 -1
- data/test/repositories/svn_empty/db/txn-current-lock +0 -0
- data/test/repositories/svn_empty/db/uuid +0 -1
- data/test/repositories/svn_empty/db/write-lock +0 -0
- data/test/repositories/svn_empty/format +0 -1
- data/test/repositories/svn_empty/hooks/post-commit.tmpl +0 -52
- data/test/repositories/svn_empty/hooks/post-lock.tmpl +0 -45
- data/test/repositories/svn_empty/hooks/post-revprop-change.tmpl +0 -57
- data/test/repositories/svn_empty/hooks/post-unlock.tmpl +0 -43
- data/test/repositories/svn_empty/hooks/pre-commit.tmpl +0 -85
- data/test/repositories/svn_empty/hooks/pre-lock.tmpl +0 -73
- data/test/repositories/svn_empty/hooks/pre-revprop-change.tmpl +0 -66
- data/test/repositories/svn_empty/hooks/pre-unlock.tmpl +0 -65
- data/test/repositories/svn_empty/hooks/start-commit.tmpl +0 -74
- data/test/repositories/svn_empty/locks/db-logs.lock +0 -3
- data/test/repositories/svn_empty/locks/db.lock +0 -3
- data/test/repositories/svn_with_branching.tgz +0 -0
- data/test/repositories/svn_with_invalid_encoding.tgz +0 -0
- data/test/repositories/svn_with_tree_move/README.txt +0 -5
- data/test/repositories/svn_with_tree_move/conf/authz +0 -21
- data/test/repositories/svn_with_tree_move/conf/passwd +0 -8
- data/test/repositories/svn_with_tree_move/conf/svnserve.conf +0 -30
- data/test/repositories/svn_with_tree_move/db/current +0 -1
- data/test/repositories/svn_with_tree_move/db/format +0 -1
- data/test/repositories/svn_with_tree_move/db/fs-type +0 -1
- data/test/repositories/svn_with_tree_move/db/revprops/0 +0 -5
- data/test/repositories/svn_with_tree_move/db/revprops/1 +0 -13
- data/test/repositories/svn_with_tree_move/db/revprops/2 +0 -13
- data/test/repositories/svn_with_tree_move/db/revs/0 +0 -11
- data/test/repositories/svn_with_tree_move/db/revs/1 +0 -0
- data/test/repositories/svn_with_tree_move/db/revs/2 +0 -44
- data/test/repositories/svn_with_tree_move/db/uuid +0 -1
- data/test/repositories/svn_with_tree_move/db/write-lock +0 -0
- data/test/repositories/svn_with_tree_move/format +0 -1
- data/test/repositories/svn_with_tree_move/hooks/post-commit.tmpl +0 -51
- data/test/repositories/svn_with_tree_move/hooks/post-lock.tmpl +0 -44
- data/test/repositories/svn_with_tree_move/hooks/post-revprop-change.tmpl +0 -56
- data/test/repositories/svn_with_tree_move/hooks/post-unlock.tmpl +0 -42
- data/test/repositories/svn_with_tree_move/hooks/pre-commit.tmpl +0 -70
- data/test/repositories/svn_with_tree_move/hooks/pre-lock.tmpl +0 -64
- data/test/repositories/svn_with_tree_move/hooks/pre-revprop-change.tmpl +0 -66
- data/test/repositories/svn_with_tree_move/hooks/pre-unlock.tmpl +0 -60
- data/test/repositories/svn_with_tree_move/hooks/start-commit.tmpl +0 -54
- data/test/repositories/svn_with_tree_move/locks/db-logs.lock +0 -3
- data/test/repositories/svn_with_tree_move/locks/db.lock +0 -3
- data/test/test_helper.rb +0 -127
- data/test/unit/abstract_adapter_test.rb +0 -106
- data/test/unit/adapter_factory_test.rb +0 -67
- data/test/unit/array_writer_test.rb +0 -33
- data/test/unit/bzr_cat_file_test.rb +0 -56
- data/test/unit/bzr_commits_test.rb +0 -388
- data/test/unit/bzr_head_test.rb +0 -18
- data/test/unit/bzr_misc_test.rb +0 -62
- data/test/unit/bzr_parser_test.rb +0 -483
- data/test/unit/bzr_pull_test.rb +0 -31
- data/test/unit/bzr_push_test.rb +0 -61
- data/test/unit/bzr_validation_test.rb +0 -61
- data/test/unit/bzr_xml_parser_test.rb +0 -409
- data/test/unit/bzrlib_cat_file_test.rb +0 -56
- data/test/unit/bzrlib_head_test.rb +0 -18
- data/test/unit/cvs_branch_number_test.rb +0 -130
- data/test/unit/cvs_commits_test.rb +0 -52
- data/test/unit/cvs_convert_test.rb +0 -30
- data/test/unit/cvs_misc_test.rb +0 -82
- data/test/unit/cvs_parser_test.rb +0 -94
- data/test/unit/cvs_validation_test.rb +0 -148
- data/test/unit/git_cat_file_test.rb +0 -21
- data/test/unit/git_commit_all_test.rb +0 -34
- data/test/unit/git_commits_test.rb +0 -179
- data/test/unit/git_head_test.rb +0 -26
- data/test/unit/git_log_parser_test.rb +0 -221
- data/test/unit/git_misc_test.rb +0 -100
- data/test/unit/git_parser_test.rb +0 -59
- data/test/unit/git_patch_test.rb +0 -14
- data/test/unit/git_pull_test.rb +0 -50
- data/test/unit/git_push_test.rb +0 -46
- data/test/unit/git_rev_list_test.rb +0 -89
- data/test/unit/git_styled_parser_test.rb +0 -103
- data/test/unit/git_svn_cat_file_test.rb +0 -57
- data/test/unit/git_svn_commits_test.rb +0 -37
- data/test/unit/git_svn_pull_test.rb +0 -51
- data/test/unit/git_token_test.rb +0 -45
- data/test/unit/git_validation_test.rb +0 -93
- data/test/unit/hg_cat_file_test.rb +0 -47
- data/test/unit/hg_commits_test.rb +0 -220
- data/test/unit/hg_head_test.rb +0 -24
- data/test/unit/hg_misc_test.rb +0 -48
- data/test/unit/hg_parser_test.rb +0 -184
- data/test/unit/hg_patch_test.rb +0 -14
- data/test/unit/hg_pull_test.rb +0 -29
- data/test/unit/hg_push_test.rb +0 -59
- data/test/unit/hg_rev_list_test.rb +0 -63
- data/test/unit/hg_validation_test.rb +0 -60
- data/test/unit/hglib_cat_file_test.rb +0 -47
- data/test/unit/hglib_head_test.rb +0 -18
- data/test/unit/ohlog_command_line_test.rb +0 -36
- data/test/unit/shellout_test.rb +0 -26
- data/test/unit/string_encoder_command_line_test.rb +0 -27
- data/test/unit/svn_cat_file_test.rb +0 -22
- data/test/unit/svn_chain_cat_file_test.rb +0 -24
- data/test/unit/svn_chain_commits_test.rb +0 -176
- data/test/unit/svn_chain_test.rb +0 -77
- data/test/unit/svn_commits_test.rb +0 -275
- data/test/unit/svn_convert_test.rb +0 -28
- data/test/unit/svn_head_test.rb +0 -27
- data/test/unit/svn_misc_test.rb +0 -142
- data/test/unit/svn_parser_test.rb +0 -155
- data/test/unit/svn_patch_test.rb +0 -14
- data/test/unit/svn_pull_test.rb +0 -60
- data/test/unit/svn_push_test.rb +0 -40
- data/test/unit/svn_validation_test.rb +0 -176
- data/test/unit/svn_xml_parser_test.rb +0 -45
data/test/unit/bzr_pull_test.rb
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
require_relative '../test_helper'
|
2
|
-
|
3
|
-
module OhlohScm::Adapters
|
4
|
-
class BzrPullTest < OhlohScm::Test
|
5
|
-
|
6
|
-
def test_pull
|
7
|
-
with_bzr_repository('bzr') do |src|
|
8
|
-
OhlohScm::ScratchDir.new do |dest_dir|
|
9
|
-
|
10
|
-
dest = BzrAdapter.new(:url => dest_dir).normalize
|
11
|
-
assert !dest.exist?
|
12
|
-
|
13
|
-
dest.pull(src)
|
14
|
-
assert dest.exist?
|
15
|
-
|
16
|
-
assert_equal src.log, dest.log
|
17
|
-
|
18
|
-
# Commit some new code on the original and pull again
|
19
|
-
src.run "cd '#{src.url}' && touch foo && bzr add foo && bzr whoami 'test <test@example.com>' && bzr commit -m test"
|
20
|
-
assert_equal "test", src.commits.last.message
|
21
|
-
assert_equal "test", src.commits.last.committer_name
|
22
|
-
assert_equal "test@example.com", src.commits.last.committer_email
|
23
|
-
|
24
|
-
dest.pull(src)
|
25
|
-
assert_equal src.log, dest.log
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
31
|
-
end
|
data/test/unit/bzr_push_test.rb
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
require_relative '../test_helper'
|
2
|
-
|
3
|
-
module OhlohScm::Adapters
|
4
|
-
class BzrPushTest < OhlohScm::Test
|
5
|
-
|
6
|
-
def test_hostname
|
7
|
-
assert !BzrAdapter.new.hostname
|
8
|
-
assert !BzrAdapter.new(:url => "http://www.ohloh.net/test").hostname
|
9
|
-
assert !BzrAdapter.new(:url => "/Users/test/foo").hostname
|
10
|
-
assert_equal "foo", BzrAdapter.new(:url => 'bzr+ssh://foo/bar').hostname
|
11
|
-
end
|
12
|
-
|
13
|
-
def test_local
|
14
|
-
assert !BzrAdapter.new(:url => "foo:/bar").local? # Assuming your machine is not named "foo" :-)
|
15
|
-
assert !BzrAdapter.new(:url => "http://www.ohloh.net/foo").local?
|
16
|
-
assert !BzrAdapter.new(:url => "bzr+ssh://host/Users/test/src").local?
|
17
|
-
assert BzrAdapter.new(:url => "src").local?
|
18
|
-
assert BzrAdapter.new(:url => "/Users/test/src").local?
|
19
|
-
assert BzrAdapter.new(:url => "file:///Users/test/src").local?
|
20
|
-
assert BzrAdapter.new(:url => "bzr+ssh://#{Socket.gethostname}/Users/test/src").local?
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_path
|
24
|
-
assert_equal nil, BzrAdapter.new().path
|
25
|
-
assert_equal nil, BzrAdapter.new(:url => "http://ohloh.net/foo").path
|
26
|
-
assert_equal nil, BzrAdapter.new(:url => "https://ohloh.net/foo").path
|
27
|
-
assert_equal "/Users/test/foo", BzrAdapter.new(:url => "file:///Users/test/foo").path
|
28
|
-
assert_equal "/Users/test/foo", BzrAdapter.new(:url => "bzr+ssh://localhost/Users/test/foo").path
|
29
|
-
assert_equal "/Users/test/foo", BzrAdapter.new(:url => "/Users/test/foo").path
|
30
|
-
end
|
31
|
-
|
32
|
-
def test_bzr_path
|
33
|
-
assert_equal nil, BzrAdapter.new().bzr_path
|
34
|
-
assert_equal "/Users/test/src/.bzr", BzrAdapter.new(:url => "/Users/test/src").bzr_path
|
35
|
-
end
|
36
|
-
|
37
|
-
def test_push
|
38
|
-
with_bzr_repository('bzr') do |src|
|
39
|
-
OhlohScm::ScratchDir.new do |dest_dir|
|
40
|
-
|
41
|
-
dest = BzrAdapter.new(:url => dest_dir).normalize
|
42
|
-
assert !dest.exist?
|
43
|
-
|
44
|
-
src.push(dest)
|
45
|
-
assert dest.exist?
|
46
|
-
assert_equal src.log, dest.log
|
47
|
-
|
48
|
-
# Commit some new code on the original and pull again
|
49
|
-
src.run "cd '#{src.url}' && touch foo && bzr add foo && bzr whoami 'test <test@example.com>' && bzr commit -m test"
|
50
|
-
assert_equal "test", src.commits.last.message
|
51
|
-
assert_equal "test", src.commits.last.committer_name
|
52
|
-
assert_equal "test@example.com", src.commits.last.committer_email
|
53
|
-
|
54
|
-
src.push(dest)
|
55
|
-
assert_equal src.log, dest.log
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
end
|
61
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
require_relative '../test_helper'
|
2
|
-
|
3
|
-
module OhlohScm::Adapters
|
4
|
-
class BzrValidationTest < OhlohScm::Test
|
5
|
-
def test_rejected_urls
|
6
|
-
[ nil, "", "foo", "http:/", "http:://", "http://", "http://a",
|
7
|
-
"www.selenic.com/repo/hello", # missing a protool prefix
|
8
|
-
"http://www.selenic.com/repo/hello%20world", # no encoded strings allowed
|
9
|
-
"http://www.selenic.com/repo/hello world", # no spaces allowed
|
10
|
-
"git://www.selenic.com/repo/hello", # git protocol not allowed
|
11
|
-
"svn://www.selenic.com/repo/hello", # svn protocol not allowed
|
12
|
-
"lp://foobar", # lp requires no "//" after colon
|
13
|
-
].each do |url|
|
14
|
-
bzr = BzrAdapter.new(:url => url, :public_urls_only => true)
|
15
|
-
assert bzr.validate_url.to_a.any?, "Didn't expect #{ url } to validate"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
def test_accepted_urls
|
20
|
-
[ "http://www.selenic.com/repo/hello",
|
21
|
-
"http://www.selenic.com:80/repo/hello",
|
22
|
-
"https://www.selenic.com/repo/hello",
|
23
|
-
"bzr://www.selenic.com/repo/hello",
|
24
|
-
"lp:foobar",
|
25
|
-
"lp:~foobar/bar",
|
26
|
-
].each do |url|
|
27
|
-
bzr = BzrAdapter.new(:url => url, :public_urls_only => true)
|
28
|
-
assert !bzr.validate_url
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
# These urls are not available to the public
|
33
|
-
def test_rejected_public_urls
|
34
|
-
[ "file:///home/test/bzr",
|
35
|
-
"/home/test/bzr",
|
36
|
-
"bzr+ssh://test@localhost/home/test/bzr",
|
37
|
-
"bzr+ssh://localhost/home/test/bzr"
|
38
|
-
].each do |url|
|
39
|
-
bzr = BzrAdapter.new(:url => url, :public_urls_only => true)
|
40
|
-
assert bzr.validate_url
|
41
|
-
|
42
|
-
bzr = BzrAdapter.new(:url => url)
|
43
|
-
assert !bzr.validate_url
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
def test_guess_forge
|
48
|
-
bzr = BzrAdapter.new(:url => nil)
|
49
|
-
assert_equal nil, bzr.guess_forge
|
50
|
-
|
51
|
-
bzr = BzrAdapter.new(:url => "/home/test/bzr")
|
52
|
-
assert_equal nil, bzr.guess_forge
|
53
|
-
|
54
|
-
bzr = BzrAdapter.new( :url => 'bzr://www.selenic.com/repo/hello')
|
55
|
-
assert_equal 'www.selenic.com', bzr.guess_forge
|
56
|
-
|
57
|
-
bzr = BzrAdapter.new( :url => 'http://www.selenic.com/repo/hello')
|
58
|
-
assert_equal 'www.selenic.com', bzr.guess_forge
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
@@ -1,409 +0,0 @@
|
|
1
|
-
require_relative '../test_helper'
|
2
|
-
|
3
|
-
module OhlohScm::Parsers
|
4
|
-
class BzrXmlParserTest < OhlohScm::Test
|
5
|
-
|
6
|
-
def test_empty_array
|
7
|
-
assert_equal([], BzrXmlParser.parse(''))
|
8
|
-
end
|
9
|
-
|
10
|
-
def test_empty_xml
|
11
|
-
assert_equal("<?xml version=\"1.0\"?>\n<ohloh_log scm=\"bzr\">\n</ohloh_log>\n", BzrXmlParser.parse('', :writer => XmlWriter.new))
|
12
|
-
end
|
13
|
-
|
14
|
-
def test_basic_xml
|
15
|
-
xml = <<-XML
|
16
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
17
|
-
<logs>
|
18
|
-
<log>
|
19
|
-
<revno>10</revno>
|
20
|
-
<revisionid>test@example.com-20110725174345-brbpkwumeh07aoh8</revisionid>
|
21
|
-
<parents>
|
22
|
-
<parent>amujumdar@blackducksoftware.com-20110722185038-e0i4d1mdxwpipxc4</parent>
|
23
|
-
</parents>
|
24
|
-
<committer>test <test@example.com></committer>
|
25
|
-
<branch-nick>myproject</branch-nick>
|
26
|
-
<timestamp>Mon 2011-07-25 13:43:45 -0400</timestamp>
|
27
|
-
<message><![CDATA[Renamed test1.txt to subdir/test_b.txt, removed test2.txt and added test_a.txt.]]></message>
|
28
|
-
</log>
|
29
|
-
</logs>
|
30
|
-
XML
|
31
|
-
commits = BzrXmlParser.parse(xml)
|
32
|
-
assert_equal 1, commits.size
|
33
|
-
c = commits.first
|
34
|
-
assert_equal 0, c.diffs.size
|
35
|
-
assert_equal "Renamed test1.txt to subdir/test_b.txt, removed test2.txt and added test_a.txt.", c.message
|
36
|
-
assert_equal "test@example.com-20110725174345-brbpkwumeh07aoh8", c.token
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_verbose_xml
|
40
|
-
xml = <<-XML
|
41
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
42
|
-
<logs>
|
43
|
-
<log>
|
44
|
-
<revno>10</revno>
|
45
|
-
<revisionid>test@example.com-20110725174345-brbpkwumeh07aoh8</revisionid>
|
46
|
-
<parents>
|
47
|
-
<parent>amujumdar@blackducksoftware.com-20110722185038-e0i4d1mdxwpipxc4</parent>
|
48
|
-
</parents>
|
49
|
-
<committer>test <test@example.com></committer>
|
50
|
-
<branch-nick>myproject</branch-nick>
|
51
|
-
<timestamp>Mon 2011-07-25 13:43:45 -0400</timestamp>
|
52
|
-
<message><![CDATA[Renamed test1.txt to subdir/test_b.txt, removed test2.txt and added test_a.txt.]]></message>
|
53
|
-
<affected-files>
|
54
|
-
<removed>
|
55
|
-
<file fid="test2.txt-20110722163813-257mjqqrvw3mav0f-3">test2.txt</file>
|
56
|
-
</removed>
|
57
|
-
<added>
|
58
|
-
<file fid="test_a.txt-20110725174250-y989xbb6y8ae027k-1">test_a.txt</file>
|
59
|
-
</added>
|
60
|
-
<renamed>
|
61
|
-
<file oldpath="test1.txt" fid="test1.txt-20110722163813-257mjqqrvw3mav0f-2">subdir/test_b.txt</file>
|
62
|
-
</renamed>
|
63
|
-
</affected-files>
|
64
|
-
</log>
|
65
|
-
</logs>
|
66
|
-
XML
|
67
|
-
commits = BzrXmlParser.parse(xml)
|
68
|
-
assert_equal 1, commits.size
|
69
|
-
c = commits.first
|
70
|
-
assert_equal 4, c.diffs.size # Rename is a D followed by A
|
71
|
-
|
72
|
-
assert_equal "test2.txt", c.diffs[0].path
|
73
|
-
assert_equal "D", c.diffs[0].action
|
74
|
-
|
75
|
-
assert_equal "test_a.txt", c.diffs[1].path
|
76
|
-
assert_equal "A", c.diffs[1].action
|
77
|
-
|
78
|
-
assert_equal "test1.txt", c.diffs[2].path
|
79
|
-
assert_equal "D", c.diffs[2].action
|
80
|
-
|
81
|
-
assert_equal "subdir/test_b.txt", c.diffs[3].path
|
82
|
-
assert_equal "A", c.diffs[3].action
|
83
|
-
end
|
84
|
-
|
85
|
-
# When an directory is deleted, bzr outputs one delete entry
|
86
|
-
# per file and one for the directory. For empty dirs, there
|
87
|
-
# is only one directory remove entry.
|
88
|
-
# Ohloh keeps file delete entries but ignores directory
|
89
|
-
# delete entry.
|
90
|
-
def test_ignore_dir_delete_xml
|
91
|
-
xml = <<-XML
|
92
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
93
|
-
<logs>
|
94
|
-
<log>
|
95
|
-
<revno>720.9.33</revno>
|
96
|
-
<revisionid>jano.vesely@gmail.com-20110127220929-d3af6kj4d53lh70t</revisionid>
|
97
|
-
<parents>
|
98
|
-
<parent>jano.vesely@gmail.com-20110125225108-0vxoig7z3d3q0w0w</parent>
|
99
|
-
<parent>vojtechhorky@users.sourceforge.net-20110126145255-4xdar4rxwcrh6s0a</parent>
|
100
|
-
</parents>
|
101
|
-
<committer>Jan Vesely <jano.vesely@gmail.com></committer>
|
102
|
-
<branch-nick>helenos</branch-nick>
|
103
|
-
<timestamp>Thu 2011-01-27 23:09:29 +0100</timestamp>
|
104
|
-
<message><![CDATA[Changes from development branch]]></message>
|
105
|
-
<affected-files>
|
106
|
-
<removed>
|
107
|
-
<file fid="nil_interface.h-20100102161837-cblex61ev6y80vjk-59">uspace/lib/net/include/nil_interface.h</file>
|
108
|
-
<directory suffix="usb-20100909152052-761ob4st359n02ai-1">uspace/srv/hw/bus/usb/</directory>
|
109
|
-
<directory suffix="hcd-20100909152052-761ob4st359n02ai-2">uspace/srv/hw/bus/usb/hcd/</directory>
|
110
|
-
</removed>
|
111
|
-
</affected-files>
|
112
|
-
</log>
|
113
|
-
</logs>
|
114
|
-
XML
|
115
|
-
commits = BzrXmlParser.parse(xml)
|
116
|
-
assert_equal 1, commits.size
|
117
|
-
|
118
|
-
c = commits.first
|
119
|
-
assert_equal 1, c.diffs.size
|
120
|
-
assert_equal "uspace/lib/net/include/nil_interface.h", c.diffs.first.path
|
121
|
-
end
|
122
|
-
|
123
|
-
# bzr also outputs a kind_changed entry when file kind changes, for example
|
124
|
-
# a symlink is changed to file.
|
125
|
-
# Ohloh ignores such changes.
|
126
|
-
def test_ignore_kind_changed_xml
|
127
|
-
xml = <<-XML
|
128
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
129
|
-
<logs>
|
130
|
-
<log>
|
131
|
-
<revno>720.9.33</revno>
|
132
|
-
<revisionid>jano.vesely@gmail.com-20110127220929-d3af6kj4d53lh70t</revisionid>
|
133
|
-
<parents>
|
134
|
-
<parent>jano.vesely@gmail.com-20110125225108-0vxoig7z3d3q0w0w</parent>
|
135
|
-
<parent>vojtechhorky@users.sourceforge.net-20110126145255-4xdar4rxwcrh6s0a</parent>
|
136
|
-
</parents>
|
137
|
-
<committer>Jan Vesely <jano.vesely@gmail.com></committer>
|
138
|
-
<branch-nick>helenos</branch-nick>
|
139
|
-
<timestamp>Thu 2011-01-27 23:09:29 +0100</timestamp>
|
140
|
-
<message><![CDATA[Changes from development branch]]></message>
|
141
|
-
<affected-files>
|
142
|
-
<removed>
|
143
|
-
<file fid="nil_interface.h-20100102161837-cblex61ev6y80vjk-59">uspace/lib/net/include/nil_interface.h</file>
|
144
|
-
</removed>
|
145
|
-
<added>
|
146
|
-
<file fid="mapping1.c-20110121134727-estgg81esab4nuxp-1">uspace/app/tester/mm/mapping1.c</file>
|
147
|
-
</added>
|
148
|
-
<kind_changed>
|
149
|
-
<file oldkind="symlink" suffix="hcd.h-20101204222916-3azlzykk6cxygbzm-1">uspace/lib/usb/include/usb/hcd.h</file>
|
150
|
-
<symlink oldkind="file" suffix="addrkeep.h-20101217213828-t8uh2yzhdva01rl9-1">uspace/lib/usb/include/usb/addrkeep.h</symlink>
|
151
|
-
</kind_changed>
|
152
|
-
<modified>
|
153
|
-
<file fid="bzrignore-20101004081108-t6mbnn0isj1l3cpk-1">.bzrignore</file>
|
154
|
-
</modified>
|
155
|
-
</affected-files>
|
156
|
-
</log>
|
157
|
-
</logs>
|
158
|
-
XML
|
159
|
-
commits = BzrXmlParser.parse(xml)
|
160
|
-
assert_equal 1, commits.size
|
161
|
-
|
162
|
-
c = commits.first
|
163
|
-
assert_equal 3, c.diffs.size
|
164
|
-
assert_equal "D", c.diffs[0].action
|
165
|
-
assert_equal "uspace/lib/net/include/nil_interface.h", c.diffs[0].path
|
166
|
-
assert_equal "A", c.diffs[1].action
|
167
|
-
assert_equal "uspace/app/tester/mm/mapping1.c", c.diffs[1].path
|
168
|
-
assert_equal "M", c.diffs[2].action
|
169
|
-
assert_equal ".bzrignore", c.diffs[2].path
|
170
|
-
end
|
171
|
-
|
172
|
-
def test_different_author_and_committer
|
173
|
-
xml = <<-XML
|
174
|
-
<logs>
|
175
|
-
<log>
|
176
|
-
<revno>1</revno>
|
177
|
-
<revisionid>amujumdar@blackducksoftware.com-20111011152356-90nluwydpw9g4ncu</revisionid>
|
178
|
-
<committer>Abhay Mujumdar <amujumdar@blackducksoftware.com></committer>
|
179
|
-
<branch-nick>bzr_with_authors</branch-nick>
|
180
|
-
<timestamp>Tue 2011-10-11 11:23:56 -0400</timestamp>
|
181
|
-
<message><![CDATA[Initial.]]></message>
|
182
|
-
</log>
|
183
|
-
<log>
|
184
|
-
<revno>2</revno>
|
185
|
-
<revisionid>amujumdar@blackducksoftware.com-20111011152412-l9ehyruiezws32kj</revisionid>
|
186
|
-
<parents>
|
187
|
-
<parent>amujumdar@blackducksoftware.com-20111011152356-90nluwydpw9g4ncu</parent>
|
188
|
-
</parents>
|
189
|
-
<committer>Abhay Mujumdar <amujumdar@blackducksoftware.com></committer>
|
190
|
-
<authors>
|
191
|
-
<author>John Doe <johndoe@example.com></author>
|
192
|
-
</authors>
|
193
|
-
<branch-nick>bzr_with_authors</branch-nick>
|
194
|
-
<timestamp>Tue 2011-10-11 11:24:12 -0400</timestamp>
|
195
|
-
<message><![CDATA[Updated.]]></message>
|
196
|
-
</log>
|
197
|
-
<log>
|
198
|
-
<revno>3</revno>
|
199
|
-
<revisionid>test@example.com-20111011162601-ud1nidteswfdbhbu</revisionid>
|
200
|
-
<parents>
|
201
|
-
<parent>amujumdar@blackducksoftware.com-20111011152412-l9ehyruiezws32kj</parent>
|
202
|
-
</parents>
|
203
|
-
<committer>test <test@example.com></committer>
|
204
|
-
<authors>
|
205
|
-
<author>Jim Beam <jimbeam@example.com></author>
|
206
|
-
<author>Jane Smith <janesmith@example.com></author>
|
207
|
-
</authors>
|
208
|
-
<branch-nick>bzr_with_authors</branch-nick>
|
209
|
-
<timestamp>Tue 2011-10-11 12:26:01 -0400</timestamp>
|
210
|
-
<message><![CDATA[Updated by two authors.]]></message>
|
211
|
-
</log>
|
212
|
-
<log>
|
213
|
-
<revno>4</revno>
|
214
|
-
<revisionid>test@example.com-20111011162601-dummyrevision</revisionid>
|
215
|
-
<parents>
|
216
|
-
<parent>test@example.com-20111011162601-ud1nidteswfdbhbu</parent>
|
217
|
-
</parents>
|
218
|
-
<committer>test <test@example.com></committer>
|
219
|
-
<branch-nick>bzr_with_authors</branch-nick>
|
220
|
-
<timestamp>Tue 2011-10-11 12:28:01 -0400</timestamp>
|
221
|
-
<message><![CDATA[Updated by committer.]]></message>
|
222
|
-
</log>
|
223
|
-
</logs>
|
224
|
-
XML
|
225
|
-
commits = BzrXmlParser.parse(xml)
|
226
|
-
c = commits[0]
|
227
|
-
assert_equal "Abhay Mujumdar", c.committer_name
|
228
|
-
assert_equal "amujumdar@blackducksoftware.com", c.committer_email
|
229
|
-
|
230
|
-
c = commits[1]
|
231
|
-
assert_equal "Abhay Mujumdar", c.committer_name
|
232
|
-
assert_equal "amujumdar@blackducksoftware.com", c.committer_email
|
233
|
-
assert_equal "John Doe", c.author_name
|
234
|
-
assert_equal "johndoe@example.com", c.author_email
|
235
|
-
|
236
|
-
c = commits[2]
|
237
|
-
assert_equal "test", c.committer_name
|
238
|
-
assert_equal "test@example.com", c.committer_email
|
239
|
-
assert_equal "Jim Beam", c.author_name
|
240
|
-
assert_equal "jimbeam@example.com", c.author_email
|
241
|
-
|
242
|
-
c = commits[3]
|
243
|
-
assert_equal "test", c.committer_name
|
244
|
-
assert_equal "test@example.com", c.committer_email
|
245
|
-
assert_equal nil, c.author_name
|
246
|
-
assert_equal nil, c.author_email
|
247
|
-
end
|
248
|
-
|
249
|
-
def test_rename
|
250
|
-
xml = <<-XML
|
251
|
-
<logs>
|
252
|
-
<log>
|
253
|
-
<revno>10</revno>
|
254
|
-
<revisionid>test@example.com-20110725174345-brbpkwumeh07aoh8</revisionid>
|
255
|
-
<parents>
|
256
|
-
<parent>amujumdar@blackducksoftware.com-20110722185038-e0i4d1mdxwpipxc4</parent>
|
257
|
-
</parents>
|
258
|
-
<committer>test <test@example.com></committer>
|
259
|
-
<branch-nick>myproject</branch-nick>
|
260
|
-
<timestamp>Mon 2011-07-25 13:43:45 -0400</timestamp>
|
261
|
-
<message><![CDATA[Renamed test1.txt to subdir/test_b.txt, removed test2.txt and added test_a.txt.]]></message>
|
262
|
-
<affected-files>
|
263
|
-
<renamed>
|
264
|
-
<file oldpath="test1.txt" fid="test1.txt-20110722163813-257mjqqrvw3mav0f-2">subdir/test_b.txt</file>
|
265
|
-
</renamed>
|
266
|
-
</affected-files>
|
267
|
-
</log>
|
268
|
-
</logs>
|
269
|
-
XML
|
270
|
-
commits = BzrXmlParser.parse(xml)
|
271
|
-
assert_equal 1, commits.size
|
272
|
-
assert_equal 2, commits.first.diffs.size
|
273
|
-
assert_equal 'D', commits.first.diffs.first.action
|
274
|
-
assert_equal 'test1.txt', commits.first.diffs.first.path
|
275
|
-
|
276
|
-
assert_equal 'A', commits.first.diffs.last.action
|
277
|
-
assert_equal 'subdir/test_b.txt', commits.first.diffs.last.path
|
278
|
-
end
|
279
|
-
|
280
|
-
def test_remove_dupes_add_remove
|
281
|
-
diffs = BzrXmlParser.remove_dupes([ OhlohScm::Diff.new(:action => "A", :path => "foo"),
|
282
|
-
OhlohScm::Diff.new(:action => "D", :path => "foo") ])
|
283
|
-
assert_equal 1, diffs.size
|
284
|
-
assert_equal 'M', diffs.first.action
|
285
|
-
assert_equal 'foo', diffs.first.path
|
286
|
-
end
|
287
|
-
|
288
|
-
# A complex delete/rename/modify test.
|
289
|
-
# Removed test_a.txt, Renamed test3.txt to test_a.txt, edited test_a.txt
|
290
|
-
#
|
291
|
-
# This is what Ohloh expects to see:
|
292
|
-
#
|
293
|
-
# D test3.txt
|
294
|
-
# M test_a.txt
|
295
|
-
#
|
296
|
-
def test_complex_rename
|
297
|
-
xml = <<-XML
|
298
|
-
<logs>
|
299
|
-
<log>
|
300
|
-
<revno>11</revno>
|
301
|
-
<revisionid>test@example.com-20111012191732-h3bt3lp6l38vbm9v</revisionid>
|
302
|
-
<parents>
|
303
|
-
<parent>test@example.com-20110725174345-brbpkwumeh07aoh8</parent>
|
304
|
-
</parents>
|
305
|
-
<committer>test <test@example.com></committer>
|
306
|
-
<branch-nick>myproject</branch-nick>
|
307
|
-
<timestamp>Wed 2011-10-12 15:17:32 -0400</timestamp>
|
308
|
-
<message><![CDATA[Removed test_a.txt, Renamed test3.txt to test_a.txt, edited test_a.txt.]]></message>
|
309
|
-
<affected-files>
|
310
|
-
<removed>
|
311
|
-
<file fid="test_a.txt-20110725174250-y989xbb6y8ae027k-1">test_a.txt</file>
|
312
|
-
</removed>
|
313
|
-
<renamed>
|
314
|
-
<file oldpath="test3.txt" fid="test3.txt-20110722163813-257mjqqrvw3mav0f-4">test_a.txt</file>
|
315
|
-
</renamed>
|
316
|
-
<modified>
|
317
|
-
<file fid="test3.txt-20110722163813-257mjqqrvw3mav0f-4">test_a.txt</file>
|
318
|
-
</modified>
|
319
|
-
</affected-files>
|
320
|
-
</log>
|
321
|
-
</logs>
|
322
|
-
XML
|
323
|
-
diffs = BzrXmlParser.parse(xml).first.diffs
|
324
|
-
diffs.sort! { |a,b| a.action <=> b.action }
|
325
|
-
assert_equal 2, diffs.size
|
326
|
-
assert_equal 'D', diffs.first.action
|
327
|
-
assert_equal 'test3.txt', diffs.first.path
|
328
|
-
assert_equal 'M', diffs.last.action
|
329
|
-
assert_equal 'test_a.txt', diffs.last.path
|
330
|
-
end
|
331
|
-
|
332
|
-
# This test-case also tests rename and modify in the same commit.
|
333
|
-
# A rename and modify should result in a DELETE and an ADD.
|
334
|
-
def test_strip_trailing_asterisk_from_executables
|
335
|
-
xml = <<-XML
|
336
|
-
<logs>
|
337
|
-
<log>
|
338
|
-
<revno>14</revno>
|
339
|
-
<revisionid>test@example.com-20111012195747-seei62z2wmefjhmo</revisionid>
|
340
|
-
<parents>
|
341
|
-
<parent>test@example.com-20111012195606-0shla0kf4e8hq4mq</parent>
|
342
|
-
</parents>
|
343
|
-
<committer>test <test@example.com></committer>
|
344
|
-
<branch-nick>myproject</branch-nick>
|
345
|
-
<timestamp>Wed 2011-10-12 15:57:47 -0400</timestamp>
|
346
|
-
<message><![CDATA[Changed +x on arch and then renamed arch to renamed_arch.]]></message>
|
347
|
-
<affected-files>
|
348
|
-
<renamed>
|
349
|
-
<file oldpath="arch" meta_modified="true" fid="arch-20111012194919-geu209qc2loshh3i-1">renamed_arch</file>
|
350
|
-
</renamed>
|
351
|
-
<modified>
|
352
|
-
<file fid="arch-20111012194919-geu209qc2loshh3i-1">renamed_arch*</file>
|
353
|
-
</modified>
|
354
|
-
</affected-files>
|
355
|
-
</log>
|
356
|
-
</logs>
|
357
|
-
XML
|
358
|
-
diffs = BzrXmlParser.parse(xml).first.diffs
|
359
|
-
diffs.sort! { |a,b| a.action <=> b.action }
|
360
|
-
assert_equal 'A', diffs[0].action
|
361
|
-
assert_equal 'renamed_arch', diffs[0].path
|
362
|
-
assert_equal 'D', diffs[1].action
|
363
|
-
assert_equal 'arch', diffs[1].path
|
364
|
-
end
|
365
|
-
|
366
|
-
def test_committer_name_capture
|
367
|
-
name, email = BzrXmlParser.capture_name('John')
|
368
|
-
assert_equal name, 'John'
|
369
|
-
assert_equal email, nil
|
370
|
-
assert_equal ['John Doe', nil], BzrXmlParser.capture_name('John Doe')
|
371
|
-
assert_equal ['John Doe jdoe@example.com', nil], BzrXmlParser.capture_name('John Doe jdoe@example.com')
|
372
|
-
assert_equal ['John Doe <jdoe@example.com', nil], BzrXmlParser.capture_name('John Doe <jdoe@example.com')
|
373
|
-
assert_equal ['John Doe jdoe@example.com>', nil], BzrXmlParser.capture_name('John Doe jdoe@example.com>')
|
374
|
-
assert_equal ['John Doe', 'jdoe@example.com'], BzrXmlParser.capture_name('John Doe <jdoe@example.com>')
|
375
|
-
assert_equal ['John Doe', 'jdoe@example.com'], BzrXmlParser.capture_name('John Doe <jdoe@example.com> ')
|
376
|
-
assert_equal ['jdoe@example.com', nil], BzrXmlParser.capture_name('jdoe@example.com')
|
377
|
-
xml = <<-XML
|
378
|
-
<logs>
|
379
|
-
<log>
|
380
|
-
<revno>15</revno>
|
381
|
-
<revisionid>a@b.com-20111013152207-q8uec9pp1330gfbh</revisionid>
|
382
|
-
<parents>
|
383
|
-
<parent>test@example.com-20111012195747-seei62z2wmefjhmo</parent>
|
384
|
-
</parents>
|
385
|
-
<committer>a@b.com</committer>
|
386
|
-
<authors>
|
387
|
-
<author>author@c.com</author>
|
388
|
-
</authors>
|
389
|
-
<branch-nick>myproject</branch-nick>
|
390
|
-
<timestamp>Thu 2011-10-13 11:22:07 -0400</timestamp>
|
391
|
-
<message><![CDATA[Updated with only email as committer name.]]></message>
|
392
|
-
<affected-files>
|
393
|
-
<modified>
|
394
|
-
<file fid="test3.txt-20110722163813-257mjqqrvw3mav0f-4">test_a.txt</file>
|
395
|
-
</modified>
|
396
|
-
</affected-files>
|
397
|
-
</log>
|
398
|
-
</logs>
|
399
|
-
XML
|
400
|
-
c = BzrXmlParser.parse(xml).first
|
401
|
-
assert_equal 'M', c.diffs.first.action
|
402
|
-
assert_equal 'test_a.txt', c.diffs.first.path
|
403
|
-
assert_equal 'a@b.com', c.committer_name
|
404
|
-
assert_equal nil, c.committer_email
|
405
|
-
assert_equal 'author@c.com', c.author_name
|
406
|
-
assert_equal nil, c.author_email
|
407
|
-
end
|
408
|
-
end
|
409
|
-
end
|