Skip to content
Snippets Groups Projects
Commit b42849ce authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Pass along proper argument to unzip to get the contents of the

datastore directory (append "/*").
parent f66433db
No related branches found
No related tags found
No related merge requests found
......@@ -1182,6 +1182,15 @@ sub Checkout($$;$$@)
$revision = $View->{'revision'};
}
my $zipfile = "$repodir/$revision";
# Append * to directories.
for (my $i = 0; $i < scalar(@subdirs); $i++) {
my $subdir = $subdirs[$i];
if ($subdir =~ /\/$/) {
$subdirs[$i] .= "*";
}
}
# Allowed to check out a set of files/dirs
my $subdir_arg = (! @subdirs ? "" :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment