Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.2

Bug #5099 Copy ignores source, traget and switches
Submitted: 2005-08-15 14:07 UTC
From: matthias dot adelhard at hydrometer dot de Assigned: clay
Status: Closed Package: VersionControl_SVN
PHP Version: 5.0.3 OS: Win2000
Roadmaps: 0.3.1    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2007-09-17 18:40 UTC
Package:
Bug Type:
Summary:
From: matthias dot adelhard at hydrometer dot de
New email:
PHP Version: Package Version: OS:

 

 [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";

Comments

 [2006-10-06 18:47 UTC] scottmattocks (Scott Mattocks)
Index: SVN/Copy.php =================================================================== --- SVN/Copy.php (revision 1) +++ SVN/Copy.php (revision 2) @@ -274,7 +274,9 @@ $_switches = trim($_switches); $this->_switches = $_switches; - $cmd = "$this->svn_path $this->svn_cmd $src $dst $switches"; + // Fix for bug #5099 && #8343. + $cmd = $this->svn_path . ' ' . $this->svn_cmd . ' '; + $cmd.= $this->_switches . implode(' ', $this->args); $this->_prepped_cmd = $cmd;
 [2007-09-17 18:40 UTC] clay (Clay Loveless)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.