Files
dvc/tests/func
skshetry 415d4bc980 repo: try to support opening uninitialized/broken repositories (#10736)
This `_get_remote_config()` should use `uninitialized=True` so that it supports
more broader kinds of broken/partially-initialized repositories, including some that have
`.dvc` directory missing, or `.git` directory missing.

This partially reverts #10719. #10608 is also fixed, and no longer requires `core.no_scm` to be passed.
This was already supported by `dvc.api.get_url` as it uses `uninitialized=True`, but this was not respected
in `_get_remote_config()` where it would fail before.

That said, this whole `open_repo`/`_get_remote_config` is terribly broken. For one, it is opening
a local repository, and forcing it's remote config to a repository opened with `Repo(rev=...)`,
where the config may be different.
2025-05-06 08:39:23 +00:00
..
2023-06-18 18:58:30 +03:00
2024-08-15 20:02:09 +05:45
2023-09-28 21:54:06 +03:00
2023-12-12 23:56:19 +02:00
2023-12-15 08:02:40 +02:00
2023-11-09 20:58:58 +05:45
2022-01-19 12:22:07 +02:00