PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Version Control » VersionControl_SVN » Bug #5099

Copy ignores source, traget and switches

Details

Submitted2005-08-15 14:07 UTC
Frommatthias dot adelhard at hydrometer dot de
Assignedclay
StatusClosed
PackageVersionControl_SVN
PHP Version5.0.3
OSWin2000
Roadmaps0.3.1

Comments

[2005-08-15 14:07 UTC] matthias dot adelhard at hydrometer dot de

Description:
------------
Copy.php:
274: $_switches = trim($_switches);
275: $this->_switches = $_switches;
276:
277: $cmd = "$this->svn_path $this->svn_cmd $src $dst $switches";

In line $src, $dst and $switches do not exist in this script.

I think instead it should be like this:
276: $src=$args[0];
277: $dst=$args[1];
278: $cmd = "$this->svn_path $this->_svn_cmd $src $dst $_switches";