downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

svn_repos_create> <svn_ls
[edit] Last updated: Thu, 23 May 2013

view this page in

svn_mkdir

(PECL svn >= 0.4.0)

svn_mkdirCrea un directorio en la copia de trabajo actual o repositorio

Descripción

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

Crea un directorio en la copia de trabajo o repositorio.

Parámetros

path

La ruta a la copia de trabajo o repositorio.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también

  • svn_add() - Programa la adición de un artículo en un directorio de trabajo
  • svn_copy()



add a note add a note User Contributed Notes svn_mkdir - [1 notes]
up
0
ckozler at ckozler dot net
1 year ago
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)

 
show source | credits | sitemap | contact | advertising | mirror sites