Óscar Fuentes <[email protected]> writes:

> Hello.

Hello,

> Diffing a file with DVC creates a buffer holding a temporal file with
> the original file.

Right. This is the case for dvc-file-diff, and not dvc-diff.

> bzr has a very nice `diff' command that makes this unnecessary.

Sure, all other decent DVCS have this. It's a long time since I hacked
DVC, but I guess this is comming from the old tla time (DVC started
its life as Xtla, and tla had a rather weird interface).

Another reason is than we need the feature "git this revision of this
file into this buffer" for the ediff functionality anyway, and it's
simple to implement diff on top of it regardless of the back-end.

> Is there a reason for not specializing the feature for those dVCS that
> have a `diff' command?

Lazyness?

More seriously, the development of DVC is not really active these
days. The core developers hardly find time to work on it, so it's in a
state where you should either like DVC, or send patches, or not use
DVC. ;-)

> Is there a workaround for avoiding those buffers and temporal files
> besides advicing the DVC command that does the job?

Not AFAIK.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

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

Reply via email to