hgitaly 18.0.2__tar.gz → 18.0.4__tar.gz
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.
- {hgitaly-18.0.2/hgitaly.egg-info → hgitaly-18.0.4}/PKG-INFO +1 -1
- hgitaly-18.0.4/hgitaly/VERSION +1 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4/hgitaly.egg-info}/PKG-INFO +1 -1
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_repository_service.py +32 -5
- hgitaly-18.0.2/hgitaly/VERSION +0 -1
- {hgitaly-18.0.2 → hgitaly-18.0.4}/LICENSE +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/MANIFEST.in +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/README.md +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/hgitaly/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/hgitaly/revset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/hgitaly/tests/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/branch.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/changelog.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/diff.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/errors.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/feature.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/file_content.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/file_context.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/git.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/gitlab_ref.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/identification.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/license_detector/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/license_detector/spdx-licenses.json +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/linguist/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/linguist/languages.json +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/logging.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/manifest.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/message.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/oid.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/pagination.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/path.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/peer.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/procutil.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/revision.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/revset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/scripts.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/address.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/mono.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/prefork.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/tests/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/tests/test_address.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/tests/test_mono.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/tests/test_prefork.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/tests/test_worker.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/server/worker.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/analysis.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/blob.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/commit.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/diff.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/interceptors.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/mercurial_changeset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/mercurial_operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/mercurial_repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/ref.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/server.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/fixture.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_analysis.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_blob.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_commit.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_default_branch.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_diff.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_ref.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_repository_service.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/service/tests/test_server.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/servicer.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/ssh.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stream.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/analysis_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/blob_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/blob_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/commit_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/commit_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/diff_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/diff_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/errors_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/errors_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/lint_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/lint_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_aux_git_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/operations_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/operations_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/ref_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/ref_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/remote_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/remote_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/repository_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/repository_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/server_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/server_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/shared_pb2.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/stub/shared_pb2_grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tag.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/bundle.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/context.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/grpc.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/multiprocessing.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/ssh.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/sshd.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/storage.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/tests/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/testing/tests/test_sshd.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/common.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_branch.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_diff.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_errors.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_feature.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_file_context.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_gitlab_ref.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_identification.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_license_detector.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_linguist.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_manifest.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_messages.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_oid.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_peer.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_revision.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_revset.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_servicer.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_stream.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_tag.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/tests/test_workdir.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/util.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly/workdir.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly.egg-info/SOURCES.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly.egg-info/dependency_links.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly.egg-info/entry_points.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly.egg-info/requires.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/hgitaly.egg-info/top_level.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/install-requirements.txt +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/setup.cfg +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/setup.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/__init__.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/comparison.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/conftest.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/gitaly.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/rhgitaly.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_blob_tree.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_commit.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_comparison.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_diff.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_gitaly_server.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_mercurial_aux_git.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_mercurial_operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_mercurial_repository.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_operations.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_ref.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_remote.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
- {hgitaly-18.0.2 → hgitaly-18.0.4}/tests_with_gitaly/test_server.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18.0.4
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# GNU General Public License version 2 or any later version.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
7
|
+
import os
|
|
7
8
|
from pathlib import Path
|
|
8
9
|
from mercurial import (
|
|
9
10
|
node as node_mod,
|
|
@@ -28,6 +29,7 @@ from hgitaly.stub.repository_pb2 import (
|
|
|
28
29
|
FindLicenseRequest,
|
|
29
30
|
FindLicenseResponse,
|
|
30
31
|
FindMergeBaseRequest,
|
|
32
|
+
HasLocalBranchesRequest,
|
|
31
33
|
GetArchiveRequest,
|
|
32
34
|
ObjectFormatRequest,
|
|
33
35
|
RemoveRepositoryRequest,
|
|
@@ -194,10 +196,14 @@ def test_compare_create_repository(
|
|
|
194
196
|
assert 'exists already' in exc.details()
|
|
195
197
|
|
|
196
198
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
+
@parametrize('hg_server', ('hgitaly', 'rhgitaly'))
|
|
200
|
+
def test_remove_repository(gitaly_rhgitaly_comparison,
|
|
201
|
+
hg_server,
|
|
202
|
+
server_repos_root):
|
|
203
|
+
fixture = gitaly_rhgitaly_comparison
|
|
199
204
|
grpc_repo = fixture.gitaly_repo
|
|
200
205
|
rpc_helper = fixture.rpc_helper(
|
|
206
|
+
hg_server=hg_server,
|
|
201
207
|
stub_cls=RepositoryServiceStub,
|
|
202
208
|
method_name='RemoveRepository',
|
|
203
209
|
request_cls=RemoveRepositoryRequest,
|
|
@@ -209,8 +215,25 @@ def test_remove_repository(gitaly_comparison, server_repos_root):
|
|
|
209
215
|
repository=Repository(storage_name='unknown',
|
|
210
216
|
relative_path='/some/path'))
|
|
211
217
|
assert_compare_errors(
|
|
218
|
+
same_details=False, # RHGitaly displays the path
|
|
212
219
|
repository=Repository(storage_name=grpc_repo.storage_name,
|
|
213
220
|
relative_path='no/such/path'))
|
|
221
|
+
if hg_server != 'rhgitaly':
|
|
222
|
+
return
|
|
223
|
+
|
|
224
|
+
# specific RHGitaly testing, see heptapod#2275
|
|
225
|
+
workdir = (server_repos_root / 'default/+hgitaly/tmp/workdirs'
|
|
226
|
+
/ fixture.hgitaly_repo.relative_path / '0')
|
|
227
|
+
os.makedirs(workdir)
|
|
228
|
+
(workdir / 'foo').write_bytes(b'some foo')
|
|
229
|
+
aux_git = (server_repos_root / 'default/+hgitaly/hg-git'
|
|
230
|
+
/ fixture.gitaly_repo.relative_path)
|
|
231
|
+
os.makedirs(aux_git)
|
|
232
|
+
(aux_git / 'HEAD').write_bytes(b'ref: refs/heads/branch/default\n')
|
|
233
|
+
|
|
234
|
+
rpc_helper.rpc('hg')
|
|
235
|
+
assert not workdir.exists()
|
|
236
|
+
assert not aux_git.exists()
|
|
214
237
|
|
|
215
238
|
|
|
216
239
|
@parametrize('hg_server', ('hgitaly', 'rhgitaly'))
|
|
@@ -336,7 +359,7 @@ def test_has_local_branches(gitaly_rhgitaly_comparison,
|
|
|
336
359
|
hg_server=hg_server,
|
|
337
360
|
stub_cls=RepositoryServiceStub,
|
|
338
361
|
method_name='HasLocalBranches',
|
|
339
|
-
request_cls=
|
|
362
|
+
request_cls=HasLocalBranchesRequest,
|
|
340
363
|
)
|
|
341
364
|
assert_compare = rpc_helper.assert_compare
|
|
342
365
|
assert_compare_errors = rpc_helper.assert_compare_errors
|
|
@@ -617,8 +640,9 @@ def test_create_bundle_from_ref_list(
|
|
|
617
640
|
assert not target_repo_path(vcs, 'broken-bundle').exists()
|
|
618
641
|
|
|
619
642
|
|
|
620
|
-
|
|
621
|
-
|
|
643
|
+
@parametrize('hg_server', ('hgitaly', 'rhgitaly'))
|
|
644
|
+
def test_search_files_by_name(gitaly_rhgitaly_comparison, hg_server):
|
|
645
|
+
fixture = gitaly_rhgitaly_comparison
|
|
622
646
|
|
|
623
647
|
wrapper = fixture.hg_repo_wrapper
|
|
624
648
|
ctx0 = wrapper.write_commit('afoo', message="Some foo")
|
|
@@ -637,6 +661,7 @@ def test_search_files_by_name(gitaly_comparison):
|
|
|
637
661
|
default_rev = b'branch/default'
|
|
638
662
|
|
|
639
663
|
rpc_helper = fixture.rpc_helper(stub_cls=RepositoryServiceStub,
|
|
664
|
+
hg_server=hg_server,
|
|
640
665
|
method_name='SearchFilesByName',
|
|
641
666
|
request_cls=SearchFilesByNameRequest,
|
|
642
667
|
request_defaults=dict(
|
|
@@ -660,6 +685,8 @@ def test_search_files_by_name(gitaly_comparison):
|
|
|
660
685
|
assert_compare(filter='b?r$', query='sub')
|
|
661
686
|
|
|
662
687
|
# without filter
|
|
688
|
+
# Note that `git-ls-tree HEAD -- sub` would just return metadata about
|
|
689
|
+
# `sub`, instead of listing its contents.
|
|
663
690
|
assert_compare(query='.')
|
|
664
691
|
assert_compare(query='sub')
|
|
665
692
|
|
hgitaly-18.0.2/hgitaly/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
18.0.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|