Hi Stephen!

> I find dvc-confirm-read-file-name confusing.
>
> It is used in dvc-revert-files, to prompt for confirmation of the
> revert.
>
> If I happen to be reverting one file, it prompts with the file name,
> giving me a chance to change to a different file.
>
> If I happen to be reverting several files, it prompts for y/n, with
> the prompt containing the number of files.
>
> So sometimes I have to respond with <ret>, and sometimes with y.
>
> In pcvs, the prompt is always for yes/no (strong confirm).
>
> I'd like to change the DVC behavior to be the same as pcvs.

That behaviour was considered useful for tla in the past. Matthieu
defended it in the past, as far as I remember.

I don't care, if we change it.

We could add an option that allows to use the existing behaviour or to
use always a yes/no prompt.

Stefan.

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

Reply via email to