vdiff page for current working tree
(1) By anonymous on 2020-05-03 16:07:02 [source]
Apologies if this has been asked before, I couldn't find it when I searched the forum.
Is there any way to use the "vdiff" UI page to compare a checkin to your current working tree? Something like: .../vdiff?from=trunk&to=current_checkout
Or is this simply not possible and I should rely on a 3rd party tool or the diff --tk option (which requires TCL installation).
Thanks
(2) By Warren Young (wyoung) on 2020-05-03 16:27:30 in reply to 1 [link] [source]
I'm pretty sure this is a wishlist item.
All the pieces are there; someone's just got to want it enough to string them all together.
(3) By Stephan Beal (stephan) on 2020-05-03 17:09:43 in reply to 1 [link] [source]
What Warren said, plus...
Currently very few bits of the web UI acknowledg or interact with a checkout. The settings page recognizes versioned settings, and the /doc/ckout path allows reading local copies of embedded docs (essential when editing them), but that's about it.
(4) By Warren Young (wyoung) on 2020-05-03 18:21:45 in reply to 3 [link] [source]
I recently ran into another instances of the same problem: /file?ci=ckout
URLs also don't work.
I'll acknowledge that this is kind of a strange thing to want to do, but I think it'd be better if ckout
simply worked in all places you can give a version string while running under Fossil UI, simply in order to reduce the number of special cases a Fossil user has to keep in mind.
(5.1) By Stephan Beal (stephan) on 2020-05-03 18:33:47 edited from 5.0 in reply to 4 [link] [source]
I recently ran into another instances of the same problem: /file?ci=ckout URLs also don't work.
Patches thoughtfully considered! (Sorry, had to say it!)
(That is an interesting suggestion, though. As you certainly know, though, each page has to implement this distinction separately... wait a minute... Isn't that what vtables are for, to allow us to do this transparently? Hmmmm..... you may have just found my next rainy day project.)
Edit: this might just be a matter of extending foci.c to handle ckout as a version number.
(6) By Warren Young (wyoung) on 2020-05-03 18:41:26 in reply to 5.1 [link] [source]
this might just be a matter of extending foci.c to handle ckout as a version number.
No. Files in ckout
don't necessarily have any other version number. That is, fossil diff --from ckout --to tip
may give non-empty output.