Class: VersionControl_SVN
Source Location: /VersionControl_SVN-0.3.2/SVN.php
Simple OO interface for Subversion
Author(s):
Version:
Copyright:
|
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$fetchmode = VERSIONCONTROL_SVN_FETCHMODE_ASSOC
[line 255]
Preferred fetchmode. Note that not all subcommands have output available for each preferred fetchmode. The default cascade is: VERSIONCONTROL_SVN_FETCHMODE_ASSOC VERSIONCONTROL_SVN_FETCHMODE_RAW If the specified fetchmode isn't available, raw output will be returned.
$options = array()
[line 241]
Runtime options being used.
$prepend_cmd = ''
[line 225]
String to prepend to command string. Helpful for setting exec() environment variables, such as: export LANG=en_US.utf8 && ... to support non-ASCII file and directory names.
$shortcuts = array(
'praise' => 'Blame',
'annotate' => 'Blame',
'ann' => 'Blame',
'co' => 'Checkout',
'ci' => 'Commit',
'cp' => 'Copy',
'del' => 'Delete',
'remove' => 'Delete',
'rm' => 'Delete',
'di' => 'Diff',
'ls' => 'List',
'mv' => 'Move',
'rename' => 'Move',
'ren' => 'Move',
'pdel' => 'Propdel',
'pd' => 'Propdel',
'pget' => 'Propget',
'pg' => 'Propget',
'plist' => 'Proplist',
'pl' => 'Proplist',
'pset' => 'Propset',
'ps' => 'Propset',
'stat' => 'Status',
'st' => 'Status',
'sw' => 'Switch',
'up' => 'Update'
)
[line 167]
Reference array of subcommand shortcuts. Provided for convenience for those who prefer the shortcuts they're used to using with the svn command-line tools. You may specify your own shortcuts by passing them in to the factory. For example: <?php
require_once 'VersionControl/SVN.php';
$options['shortcuts'] = array('boot' => 'Delete', 'checkin' => 'Commit');
$switches = array('username' => 'user', 'password' => 'pass', 'force' => true);
$args = array('svn://svn.example.com/repos/TestProject/file_to_delete.txt');
$svn->boot ->run($switches, $args);
?>
$svn_cmd_parser =
[line 263]
XML::Parser class to use for parsing XML output
$svn_path = '/usr/local/bin/svn'
[line 214]
Location of the svn client binary installed as part of Subversion
$switches = array()
[line 233]
Array of switches to use in building svn command
$use_escapeshellcmd = true
[line 206]
Indicates whether commands passed to the exec() function in the run method should be passed through escapeshellcmd(). NOTE: this variable is ignored on Windows machines!
Method Detail
Documentation generated on Sun, 09 Aug 2009 21:30:11 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.
|
|