dvc-tree-root uses only dvc-select-priority to determine the current
back-end; it does not call dvc-current-active-dvc. That means it
ignores dvc-buffer-current-active-dvc and dvc-temp-current-active-dvc.

So far I have not seen a problem because of this, but it could cause a
problem. For example, if I have a directory tree:

root
    _MTN
    stuff_1
    stuff_2
        .bzr
        file_1

The tree "root" is under monotone control, and the sub-tree "stuff_2"
is also under bzr control. Which root should dvc-tree-root return for
file_1? That should be determined by dvc-current-active-dvc.

--
-- Stephe

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to