Skip to content
Snippets Groups Projects
Commit e7aff55f authored by ajschult%verizon.net's avatar ajschult%verizon.net
Browse files

Bug 363678: have fast-update use non-recursive bonsai queries for local directories. r=bsmedberg

parent a0009c00
No related branches found
No related tags found
No related merge requests found
......@@ -684,7 +684,7 @@ ifeq (,$(MOZ_MODULE_LIST_NS))
FASTUPDATE_MODULES_NS := true
CHECKOUT_MODULES_NS := true
else
FASTUPDATE_MODULES_NS := fast_update $(filter-out mozilla/,$(CVSCO_MODULES_NS))
FASTUPDATE_MODULES_NS := fast_update $(CVSCO_MODULES_NS)
CHECKOUT_MODULES_NS := cvs_co $(CVSCO_MODULES_NS)
endif
......@@ -832,7 +832,6 @@ real_fast-update:
cd $(ROOTDIR); \
cvs_co $(CVSCO_NSS); \
cd mozilla; \
cvs -z3 -q -f up -l -d .; \
fast_update $(CVSCO_LDAPCSDK); \
$(FASTUPDATE_MODULES); \
$(FASTUPDATE_MODULES_NS); \
......
......@@ -102,6 +102,9 @@ my $esc_dir = escape($dir);
if ($dir) {
$url .= "&dir=$esc_dir";
}
if ($dirlocal) {
$url .= "&dirtype=local";
}
print "Contacting bonsai for updates to ${module} ";
print "on the ${branch} branch " if ($branch);
......@@ -170,8 +173,7 @@ foreach $dir (sort @dirlist) {
if ($dir eq $rootdir) {
$strippeddir = ".";
} elsif (!$dirlocal) {
# for local-only updates, skip all sub-dirs
} else {
$strippeddir = substr($dir,(length $rootdir) + 1 );
}
......
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