| Subversion InstantPlayground patch
From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
 Date: Tue, 16 Apr 2013 17:54:37 +0100 
Here is a little dev toy for casual submitters and people who just
 The patch sets up a new option for the svn diff command called
 It also demonstrates how to set up a command line option, so
 It's not meant for committing, but I thought that other people
 To use it, apply the patch, then open diff.c and find the 
 [[[
 This is a demonstration patch that shows how to add a new sub command
 This is aimed at casual submitters or anyone who wants a quick
 To call your code from the command line, do:
    svn diff --InstantPlayground="your input here"
 * subversion/include/svn_client.h (svn_client_diff6):
 * subversion/libsvn_client/deprecated.c
    (InstantPlaygroundFunction): Your code goes here.  The parameter
 * subversion/libsvn_client/diff.c (diff_cmd_baton):
    (svn_client_diff6): Add the InstantPlayground char* parameter that
 * subversion/svn/cl.h (svn_cl__opt_state_t):
 * subversion/svn/diff-cmd.c
 * subversion/svn/svn.c
    (svn_cl__options): This is the main list of svn command line options
    (svn_cl__cmd_table): Add opt_InstantPlayground to the list of diff
    (sub_main): Assign the input string passed on the command line to the
 ]]]
 
 
 | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.