projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f678c4
)
Better error when bad path specified
author
Aaron Bentley
<abentley@panoramicfeedback.com>
Thu, 15 Dec 2005 21:01:39 +0000
(16:01 -0500)
committer
Aaron Bentley
<abentley@panoramicfeedback.com>
Thu, 15 Dec 2005 21:01:39 +0000
(16:01 -0500)
libbe/bugdir.py
patch
|
blob
|
history
diff --git
a/libbe/bugdir.py
b/libbe/bugdir.py
index 20b6d9bb892dca7f8cc5f71e911f971c39667d07..0af4706d29a97643ff1344bbdda045fcf2f1ad51 100644
(file)
--- a/
libbe/bugdir.py
+++ b/
libbe/bugdir.py
@@
-41,6
+41,8
@@
def tree_root(dir, old_version=False):
break;
elif rootdir == "/":
raise NoBugDir(dir)
+ elif not os.path.exists(rootdir):
+ raise NoRootEntry(rootdir)
rootdir=os.path.dirname(rootdir)
return BugDir(os.path.join(rootdir, ".be"))