On Tue, Jan 21, 2014 at 7:09 PM, Michai Ramakers <[email protected]>wrote:
> Hello Stephan, > > On 21 January 2014 18:39, Stephan Beal <[email protected]> wrote: > > On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers <[email protected]> > > wrote: > >> > >> is this possible in trunk atm: display a recursive diff like what > >> 'vdiff&sbs=0' provides, but starting in a subdir of the repo instead > >> of its root? > Please give this a try: http://fossil-scm.org/index.html/timeline?r=vdiff-subdir Notes: - you currently have to manually add "dir=..." to the URL. i don't see a way which we could sensibly provide a list of directories via, e.g., a dropdown list, as that list could be arbitrarily large. - "dir=..." does not get added to the other buttons on the vdiff page (e.g. the sbs toggle). That's a missing feature. - "dir" is actually a misnomer - it does a string prefix check, meaning that dir=test will match anything which has a repo-absolute path starting with "test", including "test2/..." or "test.foo". To force a proper dir check, simply suffix a slash to it, e.g.: dir=test/ Here's a commit which contains files from several dirs, which can be used for testing: /vdiff?from=7e9633a9b3f086c5&to=2864db30806fc5e3&sbs=1&dir=test/ Run that on localhost using this branch, and adjust/remove the dir flag. Feedback and bug reports are welcomed, as long as nobody says, "but it has to account for renames..." ;) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

