On Wed, Jun 4, 2014 at 3:24 PM, Richard Hipp <d...@sqlite.org> wrote:
> I don't recall implementing anything to do that from the command-line. > But on the other hand, there is a lot of stuff in Fossil that others have > implemented and a lot of stuff that I implemented but then forgot about. > > i don't recall a way, either, but here's a halfway ugly workaround if you have the libfossil tools laying around: f-adiff HASH1 HASH2 where HASH{1,2} are the sha1's of the two versions of your file. You can get those using: f-ls -v=VERSION --glob="*filename*" (oops: -v without a value inverts the --glob option - need to use a different flag for that to avoid confusion) Be sure to see the help for more options: [stephan@host:~]$ f-adiff -? Showing app-specific help only. Use the --global option in conjunction with --help|-? to show framework-level options. Usage: f-adiff [options] fromArtifactUuid toArtifactUuid Generates diff of individual blobs (not checkin versions!). Options: --no-color|-bw Disables color output. --context-lines|-c=### Specifies the number of context lines around differences. --html|-h Specifies HTML-format output, marked for styling via CSS. --invert|-v Inverts the to/from arguments for diff purposes. --sbs-width|-w=### specifies a side-by-side diff with the given column width. Results may be weird if specifying conflicting options (-i and -w). The two versions to compare may be specified as non-flag arguments or via the -v1=x and -v2=y flags. -- ----- 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 fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users