Home » Version Control » VersionControl_SVN
Simple OO wrapper interface for the Subversion command-line client.
This package is unmaintained.
Download latest release 0.5.2 (there is a newer Composer installable version)
License: BSD License
Description
What is VersionControl_SVN?
VersionControl_SVN is a simple OO-style interface for Subversion,
the free/open-source version control system.
Some of VersionControl_SVN's features:
* Full support of svn command-line client's subcommands.
* Exception handling.
* Multi-object factory.
* Source fully documented with phpDocumentor.
* Stable, extensible interface.
* Collection of helpful quickstart examples and tutorials.
What can be done with VersionControl_SVN?
* Make your source code available to your
remote dev team or project manager.
* Build your own WYSIWYG web interface to a
Subversion repository.
* Add true version control to a content management
system!
Note: Requires a Subversion installation.
Subverison is available from
http://subversion.tigris.org/
VersionControl_SVN is tested against Subversion 1.6 and 1.7.
Documentation
Maintainers
- Clay Loveless (clay) — lead, inactive
- Michiel Rook (mrook) — lead, active
Dependencies
Required
- PHP (>= 5.3.0)
- PEAR Installer (>= 1.9.4)
- PEAR (>= 1.9.4)
Releases
- 0.5.2 (alpha, 2014-09-29)
Release notes
License: BSD License
* Fix Bug #19902: Array to string conversion in SWITCH_MISSING exception message [mrook]
* Fix Bug #20025: empty vs. no value [mrook]
* Fix Bug #20031: Global options aren't accepted [mrook]
* Implement Feature #19901: Add parser for diff (xml) output [mrook]
* Implement Feature #19903: Add 'parents' switch support to update command [mrook]
* Implement Feature #19910: preProcessSwitches() never sets 'xml' to false [mrook]
* Implement Feature #20411: Add parser for propget & proplist xml output [mrook] - 0.5.1 (alpha, 2013-02-09)
Release notes
License: BSD License
* Fix Bug #19776: switch handling argument injection bug [mrook]
* Fix Bug #19795: escapeshellarg for switches [mrook]
* Fix Bug #19813: Typo in diff command switch "summarize" [mrook] - 0.5.0 (alpha, 2012-11-19)
Release notes
License: BSD License
* Fix Bug #18130: Problems with executing checkout [mrook]
* Fix Bug #19465: username/password isn't handled like described in
* documentation [mrook]
* Implement Feature #18635: Add support for changelist command and
* arguments [mrook]
* Implement Feature #18956: Add support for --trust-server-cert switch
* [mrook]
* Implement Feature #19388: Support for --xml Flag in Info [mrook]
* Implement Feature #19464: Move command handling in new class [mrook]
* Implement Feature #19470: Convert
* VersionControl_SVN_Comand_List::parseOutputArray into xml parser [mrook]
* Implement Feature #19472: Use Exceptions instead of PEAR_Error [mrook]
* Implement Feature #19484: Use XMLReader instead of PEAR::XML_Parser
* [mrook] - 0.4.0 (alpha, 2011-10-14)
Release notes
License: BSD License
* Fix Bug #16639: PHP "Error return value of new by reference is deprecated" [mrook]
* Fix Bug #17335: E_DEPRECATED is triggered [mrook]
* Fix Bug #18010: Determine svn location automatically [mrook]
* Fix Bug #18472: Need to add --non-interactive [mrook]
* Fix Bug #18713: Move Command doesn't need a Message [mrook]
* Fix Bug #18715: Copy command requires message switch [mrook]
* Implement Feature #18028: Better support for --ignore-externals option [mrook]
* Implement Feature #18623: Add xml output switch [mrook] - 0.3.4 (alpha, 2010-10-05)
Release notes
License: BSD License
* Fix Bug #16892: SVN.run() on windows doesn't execute properly [mrook]
* Fix Bug #17268: Windows "Fix" actually prevents execution
* [mrook]
* Fix Bug #17477: Windows directory not quoted in the $arg array of the
* SVN->run()
method [mrook]
* Implement Feature #16952: Enable --summarize switch for diff command
* [mrook]
* Implement Feature #17310: Add support for --parents in Svn/Copy.php
* [mrook]
* Implement Feature #17394: Add support for ignore-externals switch for
* update and checkout
command [mrook]
* Implement Feature #17415: escapeshellargs [mrook]
* Implement Feature #17530: Enable --force command for update [mrook] - 0.3.3 (alpha, 2009-09-02)
Release notes
License: BSD License
* Fix Bug #14114: Delete command requires -m switch [mrook]
- 0.3.2 (alpha, 2009-08-09)
Release notes
License: BSD License
* Fix Bug #12439: Log using VERSIONCONTROL_SVN_FETCHMODE_ARRAY fails [mrook]
* Fix Bug #14114: Delete command requires -m switch [mrook]
* Fix Bug #14643: Single quote are used instead of double quotes. [mrook]
* Fix Bug #14827: VersionControl_SVN_Copy cannot prepare command [mrook]
* Fix Bug #15186: VersionControl_SVN::run has trouble with Windows paths. [mrook]
* Implement Feature #13011: info command should accept username/password switches [mrook] - 0.3.1 (alpha, 2007-09-17)
Release notes
License: BSD License
The 0.3.1 alpha release addresses a vast majority of open items discovered
with the VersionControl_SVN 0.3.0alpha1 release.
* Fix Bug #5020: Code-bug, missing break in switch [clay]
* Fix Bug #5099: Copy ignores source, traget and switches [clay]
* Fix Bug #9351: log does not accept the 'limit' switch [clay]
* Fix Bug #9998: Regular Expression Matching For List [clay]
* Fix Bug #11935: All checkouts are non-recursive due to a typo in SVN/Checkout.php [clay]
* Implement Feature #5021: SVN objects are not reusable [clay]
* Implement Feature #9343: Using non-english file/dir names [clay]
A new public property called 'prepend_cmd' is supported to allow environment
variables controlling things such as character encoding to be prepended to
the Subversion command execution. This was introduced in response to #9343.NOTE: This is very likely to be among the last of PHP 4 compatible releases.
Significant refactoring is already underway for a PHP 5-only release of the
package. If significant issues are found in this release, a few more 0.3.x
releases may be made. - 0.3.0alpha1 (alpha, 2004-06-09)
Release notes
License: BSD License
- Completed all svn subcommand packages.
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2821 | Bogus | Bug | 2004-11-24 | Attribute $options or $args??? | |
| #3459 | Bogus | Bug | 2005-02-14 | $svn_path must be automatically obtained | |
| #4356 | Closed | Bug | 2005-05-16 | repo site not working | |
| #4947 | No Feedback | Bug | 2005-07-29 | Library not working with Windows SVN | |
| #5020 | Closed | Bug | 2005-08-06 | Code-bug, missing break in switch | |
| #5021 | Closed | Req | 2005-08-07 | SVN objects are not reusable | |
| #5099 | Closed | Bug | 2005-08-15 | Copy ignores source, traget and switches | |
| #8348 | Duplicate | Bug | 0.3.0alpha1 | 2006-08-02 | svn copy functionality is faulty |
| #9343 | Closed | Req | 0.3.0alpha1 | 2006-11-15 | Using non-english file/dir names |
| #9351 | Closed | Bug | 0.3.0alpha1 | 2006-11-16 | log does not accept the 'limit' switch |
| #9998 | Closed | Bug | 0.3.0alpha1 | 2007-02-01 | Regular Expression Matching For List |
| #11935 | Closed | Bug | 0.3.0alpha1 | 2007-08-29 | All checkouts are non-recursive due to a typo in SVN/Checkout.php |
| #12439 | Closed | Bug | 0.3.1 | 2007-11-13 | Log using VERSIONCONTROL_SVN_FETCHMODE_ARRAY fails |
| #13011 | Closed | Req | 0.3.1 | 2008-01-30 | info command should accept username/password switches |
| #14114 | Closed | Bug | 0.3.1 | 2008-06-10 | Delete command requires -m switch |
| #14643 | Closed | Bug | 0.3.1 | 2008-09-12 | Single quote are used instead of double quotes. |
| #14827 | Closed | Bug | 0.3.1 | 2008-10-19 | VersionControl_SVN_Copy cannot prepare command |
| #15186 | Closed | Bug | 0.3.1 | 2008-11-29 | VersionControl_SVN::run has trouble with Windows paths. |
| #16581 | Bogus | Bug | Unknown | 2009-09-09 | help |
| #16639 | Closed | Bug | 0.3.3 | 2009-09-24 | PHP "Error return value of new by reference is deprecated" |
| #16892 | Closed | Bug | 0.3.3 | 2009-12-08 | SVN.run() on windows doesn't execute properly |
| #16952 | Closed | Req | 0.3.3 | 2009-12-27 | Enable --summarize switch for diff command |
| #17062 | Wont fix | Req | 0.3.3 | 2010-02-03 | Please Complete ::parseOutputArray() Methods |
| #17268 | Closed | Bug | 0.3.3 | 2010-03-25 | Windows "Fix" actually prevents execution |
| #17310 | Closed | Req | Unknown | 2010-04-13 | Add support for --parents in Svn/Copy.php |
| #17335 | Closed | Bug | 0.3.3 | 2010-04-22 | E_DEPRECATED is triggered |
| #17394 | Closed | Req | 0.3.3 | 2010-05-13 | Add support for ignore-externals switch for update and checkout command |
| #17415 | Closed | Req | 0.3.3 | 2010-05-19 | escapeshellargs |
| #17477 | Closed | Bug | 0.3.3 | 2010-06-09 | Windows directory not quoted in the $arg array of the SVN->run() method |
| #17530 | Closed | Req | 0.3.3 | 2010-06-28 | Enable --force command for update |
| #18009 | Closed | Bug | 0.3.4 | 2010-10-29 | Switch to PHP5 |
| #18010 | Closed | Bug | 0.3.4 | 2010-10-29 | Determine svn location automatically |
| #18028 | Closed | Req | SVN | 2010-11-05 | Better support for --ignore-externals option |
| #18130 | Closed | Bug | 0.3.4 | 2010-12-21 | Problems with executing checkout |
| #18472 | Closed | Bug | 0.3.4 | 2011-04-21 | Need to add --non-interactive |
| #18623 | Closed | Req | 0.3.4 | 2011-06-22 | Add xml output switch |
| #18635 | Closed | Req | 0.3.4 | 2011-06-29 | Add support for changelist command and arguments |
| #18713 | Closed | Bug | 0.3.4 | 2011-08-05 | Move Command doesn't need a Message |
| #18715 | Closed | Bug | 0.3.4 | 2011-08-10 | Copy command requires message switch |
| #18956 | Closed | Req | 0.4.0 | 2011-11-04 | Add support for --trust-server-cert switch |
| #19090 | Duplicate | Bug | 0.4.0 | 2011-11-30 | exec() does not work with spaces in command line |
| #19161 | Closed | Req | 0.4.0 | 2011-12-28 | Support for --force Flag in Checkout |
| #19388 | Closed | Req | 0.4.0 | 2012-04-18 | Support for --xml Flag in Info |
| #19464 | Closed | Req | 0.4.0 | 2012-06-07 | Move command handling in new class |
| #19465 | Closed | Bug | 0.4.0 | 2012-06-07 | username/password isn't handled like described in documentation |
| #19470 | Closed | Req | SVN | 2012-06-11 | Convert VersionControl_SVN_Comand_List::parseOutputArray into xml parser |
| #19472 | Closed | Req | SVN | 2012-06-14 | Use Exceptions instead of PEAR_Error |
| #19484 | Closed | Req | SVN | 2012-06-27 | Use XMLReader instead of PEAR::XML_Parser |
| #19636 | Closed | Bug | SVN | 2012-10-04 | Non-static method System::which() |
| #19776 | Closed | Bug | 0.5.0 | 2013-01-05 | switch handling argument injection bug |
| #19795 | Closed | Bug | 0.5.0 | 2013-01-23 | escapeshellarg for switches |
| #19796 | Bogus | Bug | 0.5.0 | 2013-01-23 | escapeshellarg for switches |
| #19813 | Closed | Bug | 0.5.0 | 2013-02-09 | Typo in diff command switch "summarize" |
| #19901 | Closed | Req | 0.5.1 | 2013-04-16 | Add parser for diff (xml) output |
| #19902 | Closed | Bug | 0.5.1 | 2013-04-16 | Array to string conversion in SWITCH_MISSING exception message |
| #19903 | Closed | Req | 0.5.1 | 2013-04-16 | Add 'parents' switch support to update command |
| #19910 | Closed | Req | 0.5.1 | 2013-04-24 | preProcessSwitches() never sets 'xml' to false |
| #20025 | Closed | Bug | 0.5.1 | 2013-07-30 | empty vs. no value |
| #20031 | Closed | Bug | 0.5.1 | 2013-08-08 | Global options aren't accepted |
| #20049 | Closed | Bug | SVN | 2013-08-22 | "xml" is a invalid switch for class "VersionControl_SVN_Command_Update". |
| #20360 | Wont fix | Bug | 0.5.1 | 2014-08-07 | Backslashes remain in commit message |
| #20411 | Closed | Req | 0.5.1 | 2014-09-18 | Add parser for propget & proplist xml output |
| #23743 | Bogus | Req | 0.5.2 | 2018-03-14 | svn revert not supported |