Lines Matching defs:new
60 * Create a new git repository
85 return new GitRepo($repo_path, $plugin);
146 * Create a new git repository
159 throw new Exception(self::handle_create_new_error($repo_path, $reference, '"'.$repo_path.'" is already a git repository', $plugin));
161 $repo = new self($repo_path, $plugin, true, false);
165 throw new Exception(self::handle_create_new_error($repo_path, $reference, '"'.$reference.'" is not a git repository. Cannot use as reference.', $plugin));
207 * @param bool initialize new Git repo if not exists?
233 throw new Exception($this->handle_repo_path_error($repo_path, '"'.$repo_path.'" is not a git repository'));
237 throw new Exception($this->handle_repo_path_error($repo_path, '"'.$repo_path.'" is not a directory'));
246 throw new Exception($this->handle_repo_path_error($repo_path, 'cannot create repository in non-existent directory'));
249 throw new Exception($this->handle_repo_path_error($repo_path, '"'.$repo_path.'" does not exist'));
333 throw new Exception($this->handle_command_error($this->repo_path, $cwd, $command, $status, $error_message));
668 * Add a new tag on the current position
751 * @param string $new
753 public function set_description($new) {
755 file_put_contents($path."/description", $new);