projects
/
diogenes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release diogenes-0.9.22
[diogenes.git]
/
include
/
Barrel.php
diff --git
a/include/Barrel.php
b/include/Barrel.php
index
1a78dde
..
a1ba574
100644
(file)
--- a/
include/Barrel.php
+++ b/
include/Barrel.php
@@
-87,7
+87,7
@@
class Diogenes_Barrel
$this->flags = new flagset($flags);
$this->options = new Diogenes_Barrel_Options($this->alias);
$this->flags = new flagset($flags);
$this->options = new Diogenes_Barrel_Options($this->alias);
- $this->spool = new DiogenesSpool($this,$this->alias);
+ $this->spool = new Diogenes
_VCS_
Spool($this,$this->alias);
$this->readTree();
}
$this->readTree();
}
@@
-310,6
+310,10
@@
class Diogenes_Barrel
{
global $globals;
{
global $globals;
+ if (!$path) {
+ $caller->info("rmPath: will not delete from root!");
+ return false;
+ }
$curpid = $this->getPID($path);
if (!$curpid) {
$caller->info("rmPath: could not find '$path'");
$curpid = $this->getPID($path);
if (!$curpid) {
$caller->info("rmPath: could not find '$path'");