On Sun, Mar 30, 2014 at 12:41 PM, Stephan Beal <[email protected]>wrote:
>
>
> Right now I'm still testing my GUI.
>> And I found out that:
>> fossil gdiff --from "version1" --to "version2" "path/file.txt"
>> The filename is screwed up, instead of "file.txt" the filename is random
>> text, i.e: "N2RzE1tMFYWZK31" for version1 and "jcs3c2edtTUDs1g" for
>> version2.
>>
>
>
> After playing around a bit with it, i see what you mean. The random names
> are there for your protection, but yes, they are pretty useless for
> purposes of seeing the filename in the gdiff titlebar. i don't have a
> solution/workaround. Maybe someone else can propose one.
>
>
The difficulty here is that "gdiff" uses any of several 3rd-party external
diff tools that all have different way sof specifying the real filename,
and which we do not have control over.
If you say:
fossil diff --tk --from version1 --to version2 path/file.txt
Then the Tcl/Tk graphical diff tool that is built into Fossil is used. And
we do have control over it. And it does show the correct filename.
For the --tk option to work, you need Tcl/Tk installed on your system.
Linux and Mac have this by default usually, I think. It's a simple
(compact, fast, and unintrusive) installer for Windows.
--
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users