svn_add
Schedules the addition of an item in a working directory
&reftitle.description;
boolsvn_add
stringpath
boolrecursive
boolforce
Adds the file, directory or symbolic link at path
to the working directory. The item will be added to the repository
the next time you call svn_commit on the working
copy.
&reftitle.parameters;
path
Path of item to add.
&svn.relativepath;
recursive
If item is directory, whether or not to recursively add
all of its contents. Default is &true;
force
If true, Subversion will recurse into already versioned directories
in order to add unversioned files that may be hiding in those
directories. Default is &false;
&reftitle.returnvalues;
&return.success;
&reftitle.notes;
&warn.experimental.func;
&reftitle.examples;
svn_add example
In a working directory where svn status
returns:
...this code:
]]>
...will schedule foobar.txt for addition into
the repository.
&reftitle.seealso;
SVN documentation on svn add