Matthieu Moy <[email protected]> writes:

> Stefan Reichör <[email protected]> writes:
>
>> Hi Thierry!
>>
>>> Stephen Leake <[email protected]> writes:
>>>
>>>> [email protected] writes:
>>>>
>>>>> Which backend are you using?
>>>>> hg, git, other?
>>>>
>>>> Part of the point of DVC is that the answer doesn't depend on the
>>>> backend.
>>>
>>> May be not:
>>> The OP ask for a diff (ediff) between current revision of a file against
>>> any other revision.
>>>
>>> It seem dvc-file-ediff make the diff between last changes in file (not
>>> commited yet) against last revision.
>>>
>>> I know xhg is able to extract a file of a given revision.
>>> `xhg-revision-get-last-or-num-revision'
>>> With that, a diff is possible with any other file.
>>>
>>> So what is the similar  dvc command in other backends?
>>>
>>> It should be good to ediff a file of a given revision against another
>>> revision, and not only against the last changes.
>>>
>>> Or may be it is already implemented and i miss it?
>>
>> I also looked at the code. I think we don't have that functionality yet.
>
> M-x bzr-diff-against RET
>
> And then press 'e' anywhere in the buffer to enter ediff with the
> thing under cursor. Unfortunately, it doesn't seem to be DVC-ified
> (i.e. there-s bzr-diff-against, but no dvc-diff-against).

So it seem only bzr have such a function.
Should be good to have that in other backends.
And then to have a dvc-diff-against function to unify all that commands.
Until there is only bzr that is able to do that, it is not urgent to
have a dvc unified command.

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France


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

Reply via email to