Exemple #1
0
 /**
  * Create SVN repository with standard organisation
  * /trunk
  * /tags
  * /branches
  *
  * @param string Path to create subversion
  */
 public static function createSvn($path)
 {
     $escape_path = escapeshellarg($path);
     $message = USVN_ConsoleUtils::runCmdCaptureMessage(USVN_SVNUtils::svnadminCommand("create {$escape_path}"), $return);
     if ($return) {
         throw new USVN_Exception(T_("Can't create subversion repository: %s"), $message);
     }
 }