On Tue, Jan 31, 2012 at 21:30, Matt Welland <[email protected]> wrote:
>
> fossil could do with a little more power on the command line. Passing
> remaining parameters to diff would be useful. Here is a crude work around
> for you:
>
> $ fossil set diff-command 'diff $DIFFPARAMS'
> $ DIFFPARAMS='-q' fossil diff -r 7ad3e
>

Matt,
under close inspection the output of the external diff -q is pretty
much useless.

$ fossil clone http://www.fossil-scm.org/ fossil.fos
$ fossil set diff-command 'diff $DIFFPARAMS' -R fossil.fos
$ DIFFPARAMS='-q' fossil diff --from version-1.20 --to version-1.21 -R
fossil.fos
produces
Files /var/tmp/TOVfAuDTszthuDY and /var/tmp/FdEbKPAZ0uv66ad differ
Files /var/tmp/FDjccX0cYFeqRl4 and /var/tmp/lqsmmIbXyNVtinB differ
Files /var/tmp/6mOoNpHpm360YzI and /var/tmp/P5R9MqHCWsOmqcr differ
.......
Exernal diff is being called on temporary files in /var/tmp with
non-descriptive names. I am using fossil-1.21 on Linux. Is it a bug or
I am doing something wrong?

--Leo--
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to