Ticket #141 (closed enhancement: fixed)

Opened 11 months ago

Last modified 10 months ago

Add 'recursive' attribute to svncheckout task.

Reported by: kasperligaard@gmail.com Assigned to: mrook
Priority: minor Milestone: 2.3.0
Component: phing-tasks-ext Version: 2.3.0beta1
Keywords: Cc: kasperligaard@gmail.com

Description

Add 'recursive' attribute to svncheckout task, by adding the following code to tasks/ext/SVN/SvnBaseTask.php:

function setRecursive($value)
{
	$this->svnSwitches['non-recursive'] = is_bool($value) ? !$value : TRUE;
}

function getRecursive()
{
	return isset( $this->svnSwitches['non-recursive'] ) ? $this->svnSwitches['non-recursive'] : '';
}

Attachments

Change History

08/29/07 20:04:45 changed by kasperligaard@gmail.com

Please note, the recursive attibute won't be worth much before #142 is solved (which is the PEAR VersionControl package, that needs to be fixed).

08/30/07 18:09:40 changed by kasperligaard@gmail.com

I got the idea to the recursive attribute from nantcontrib, http://nantcontrib.sourceforge.net/release/latest/help/tasks/svn-checkout.html

09/05/07 19:04:36 changed by mrook

  • owner changed from hans to mrook.

09/05/07 19:04:39 changed by mrook

  • status changed from new to assigned.

09/10/07 15:15:09 changed by mrook

  • status changed from assigned to closed.
  • resolution set to fixed.

Added in r238 (in anticipation of upstream fix, see issue #142), thanks.


Add/Change #141 (Add 'recursive' attribute to svncheckout task.)




Action