Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
ad5299d9
Commit
ad5299d9
authored
May 02, 2008
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make darcs-all act on all repos in libraries/, not just boot/extra libs
parent
9cfd3b98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
darcs-all
darcs-all
+18
-4
No files found.
darcs-all
View file @
ad5299d9
...
...
@@ -62,6 +62,7 @@ sub darcs {
}
sub
darcsall
{
my
@packages
;
darcs
@_
;
for
my
$dir
(
@top_dirs
)
{
if
(
-
d
$dir
&&
-
d
"
$dir
/_darcs
")
{
...
...
@@ -71,12 +72,25 @@ sub darcsall {
message
"
==
$dir
not present or not a repository; skipping
";
}
}
for
my
$pkg
(`
cat libraries/boot-packages libraries/extra-packages
`)
{
chomp
$pkg
;
if
(
-
d
"
libraries/
$pkg
")
{
darcs
(
@
_
,
"
--repodir
",
"
libraries/
$pkg
");
for
my
$path
(
<
libraries
/*/
_darcs
>
)
{
chomp
$path
;
if
(
$path
=~
m#/(.*)/#
)
{
my
$pkg
=
$
1
;
# bootstrapping.* are just copies of other repos; we don't
# update them directly.
if
(
$pkg
!~
/bootstrapping/
)
{
darcs
(
@
_
,
"
--repodir
",
"
libraries/
$pkg
");
}
}
else
{
die
"
that pattern can't fail!
";
}
}
@packages
=
`
cat libraries/boot-packages
`;
# @packages = `cat libraries/boot-packages libraries/extra-packages`;
for
my
$pkg
(
@packages
)
{
chomp
$pkg
;
if
(
!
-
d
"
libraries/
$pkg
")
{
warning
("
$pkg
doesn't exist, use 'darcs-all get' to get it
");
}
}
...
...
Write
Preview
Markdown
is supported
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