Open efiop opened 1 year ago
When branches have wildly different remote setups
Do we respect any of the per-revision remote config? Or we always use the remote config from the workspace?
@dberenbaum Always using the remote config from the workspace. Not respecting per-revision remote configs at all 🙁 Now fixed for fetch
though.
When branches have wildly different remote setups, those configs are not taken into account during fetch/push/status -c --all-tags/branches/etc
Example:
Studio uses real
git checkout
to collect objects and has been doing that for years as a workaround, but I couldn't find an issue in dvc yet.To fix this we should make
config
part ofIndex
(same as stages, outs, etc are, don't confuse with DataIndex) and use it to buildIndex.data
. This is the easiest to do indvc fetch
because it is usingIndex.data
already, but might require temporary workarounds forpush/status -c
like manually triggering config reloading in brancher or something.