Commit c6eadadb authored by chak@cse.unsw.edu.au.'s avatar chak@cse.unsw.edu.au.

darcs-all: allow relative path for repo in local fs

parent 8bac4788
......@@ -18,7 +18,12 @@ if ($defaultrepo =~ /:/) {
$defaultrepo_lib = "$defaultrepo_base/packages";
}
elsif ($defaultrepo =~ /^\//) {
# Local filesystem (assumes a checked-out tree):
# Local filesystem, absolute path (assumes a checked-out tree):
$defaultrepo_base = $defaultrepo;
$defaultrepo_lib = "$defaultrepo/libraries";
}
elsif ($defaultrepo =~ /^..\//) {
# Local filesystem, relative path (assumes a checked-out tree):
$defaultrepo_base = $defaultrepo;
$defaultrepo_lib = "$defaultrepo/libraries";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment