svn_repos_create> <svn_ls
Last updated: Fri, 24 Feb 2012

svn_mkdir

(PECL svn >= 0.4.0)

svn_mkdirCreates a directory in a working copy or repository

Descrição

bool svn_mkdir ( string $path [, string $log_message ] )

Creates a directory in a working copy or repository.

Parâmetros

path

The path to the working copy or repository.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja Também

  • svn_add() - Schedules the addition of an item in a working directory
  • svn_copy()



User Contributed Notes
svn_mkdir
ckozler at ckozler dot net
14-Feb-2012 03:25
I would just like to note that there is either an error in the documentation or a bug in the code. When you run svn_mkdir it returns FALSE even on success. As an example you can do

<?php

var_dump
( svn_mkdir( "/path/to/your/repo/mydir" ) );

?>

And youll see that the output is

bool(false)

svn_repos_create> <svn_ls
Last updated: Fri, 24 Feb 2012