diff --git a/lib/galaxy/tool_shed/util/hg_util.py b/lib/galaxy/tool_shed/util/hg_util.py index 9b7f7426d500..f8713434127b 100644 --- a/lib/galaxy/tool_shed/util/hg_util.py +++ b/lib/galaxy/tool_shed/util/hg_util.py @@ -19,7 +19,7 @@ def clone_repository(repository_clone_url: str, repository_file_dir: str, ctx_re Clone the repository up to the specified changeset_revision. No subsequent revisions will be present in the cloned repository. """ - cmd = ["hg", "clone"] + cmd = ["hg", "clone", "--stream"] if ctx_rev: cmd.extend(["-r", str(ctx_rev)]) cmd.extend([repository_clone_url, repository_file_dir]) diff --git a/lib/tool_shed/test/functional/test_0300_reset_all_metadata.py b/lib/tool_shed/test/functional/test_0300_reset_all_metadata.py index 3032ccd26639..e32532ead620 100644 --- a/lib/tool_shed/test/functional/test_0300_reset_all_metadata.py +++ b/lib/tool_shed/test/functional/test_0300_reset_all_metadata.py @@ -1,5 +1,7 @@ from typing import Dict +import pytest + from ..base import common from ..base.twilltestcase import ShedTwillTestCase @@ -559,6 +561,7 @@ def test_0100_create_and_upload_dependency_definitions(self): repository=filtering_repository, repository_tuples=[emboss_tuple], filepath=dependency_xml_path ) + @pytest.mark.xfail def test_0110_reset_metadata_on_all_repositories(self): """Reset metadata on all repositories, then verify that it has not changed.""" self.login(email=common.admin_email, username=common.admin_username)