On Tue, Apr 1, 2014 at 7:25 PM, Stephan Beal <sgb...@googlemail.com> wrote:
> KNOWN BUGS: > 1) this app cannot currently diff against the checkout version. All the > pieces are in place, it just needs to be done. > It can now: [stephan@host:~/cvs/fossil/libfossil]$ f-vdiff current . | head DIFF: 75699d4c ==> local f-apps/f-vdiff.c @@ -21,6 +21,7 @@ */ #include "fossil-scm/fossil-cli.h" /* Fossil App mini-framework */ +#include "fossil-scm/fossil-internal.h" /* Need for our use of a couple (currently) internal APIs */ static void fcli_local_help(){ printf("Usage:\n\t%s [options]version1 version2\n\n", fcli.appName); @@ -60,14 +61,174 @@ it uses the value '.' to mean 'current local changes based on the checked out version,' so this is also valid: f-vdiff --from=. --to=current that just reverses the diffs (same as the --invert flag) :) -- ----- 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