projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27c101
)
understand absolute pathnames on Windows too
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 28 Jul 2008 10:22:43 +0000
(10:22 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 28 Jul 2008 10:22:43 +0000
(10:22 +0000)
darcs-all
patch
|
blob
|
history
diff --git
a/darcs-all
b/darcs-all
index
bb41706
..
b1451b1
100644
(file)
--- a/
darcs-all
+++ b/
darcs-all
@@
-17,7
+17,7
@@
if ($defaultrepo =~ /^...*:/) {
$defaultrepo_base =~ s#/[^/]+/?$##;
$checked_out_tree = 0;
}
-elsif ($defaultrepo =~ /^(\.\.)?\//) {
+elsif ($defaultrepo =~ /^\/|\.\.\/|.:(\/|\\)/) {
# Local filesystem, either absolute or relative path
# (assumes a checked-out tree):
$defaultrepo_base = $defaultrepo;