Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
b8539b1d
Commit
b8539b1d
authored
Jul 28, 2008
by
Simon Marlow
Browse files
understand absolute pathnames on Windows too
parent
b27c1019
Changes
1
Hide whitespace changes
Inline
Side-by-side
darcs-all
View file @
b8539b1d
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment