Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
4260f0c9
Commit
4260f0c9
authored
Aug 07, 2008
by
Ian Lynagh
Browse files
Fix darcs-all get
parent
2cd93039
Changes
1
Hide whitespace changes
Inline
Side-by-side
darcs-all
View file @
4260f0c9
...
...
@@ -98,7 +98,7 @@ sub darcsget {
open
IN
,
"
< packages
"
or
die
"
Can't open packages file
";
while
(
<
IN
>
)
{
chomp
;
if
(
/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)/
)
{
if
(
/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)
+([^ ]+)$
/
)
{
$localpath
=
$
1
;
$tag
=
defined
(
$
2
)
?
$
2
:
"";
$remotepath
=
$
3
;
...
...
@@ -119,7 +119,7 @@ sub darcsget {
}
}
}
elsif
(
!
/^$/
)
{
elsif
(
!
/^
(#.*)?
$/
)
{
die
"
Bad line:
$_
";
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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