PYTHON svn_mkdir

is this article helpful?
|
Python replacement for PHP's svn_mkdir [ edit | history ]
import os
import errno

try:
        os.makedirs(path)
    except OSError as exception:
        if exception.errno != errno.EEXIST:
            raise

PHP svn_mkdir

PHP original manual for svn_mkdir [ show | php.net ]

svn_mkdir

(PECL svn >= 0.4.0)

svn_mkdirCreates a directory in a working copy or repository

Description

bool svn_mkdir ( string $path )

Creates a directory in a working copy or repository.

Parameters

path

The path to the working copy or repository.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

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