Commit b8539b1d authored by Simon Marlow's avatar Simon Marlow

understand absolute pathnames on Windows too

parent b27c1019
......@@ -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;
......
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