Lines Matching refs:coll

71 	struct coll *coll;
88 static struct file_update *fup_new(struct coll *, struct status *);
104 static int updater_setdirattrs(struct updater *, struct coll *,
108 static int updater_updatenode(struct updater *, struct coll *,
122 fup_new(struct coll *coll, struct status *st)
128 fup->coll = coll;
136 struct coll *coll;
138 coll = fup->coll;
142 if (coll->co_options & CO_CHECKOUTMODE)
143 fup->destpath = checkoutpath(coll->co_prefix, name);
145 fup->destpath = cvspath(coll->co_prefix, name, attic);
146 fup->origpath = atticpath(coll->co_prefix, name);
157 fup->coname = fup->destpath + coll->co_prefixlen + 1;
282 struct coll *coll;
289 STAILQ_FOREACH(coll, &up->config->colls, co_next) {
290 if (coll->co_options & CO_SKIP)
292 umask(coll->co_umask);
302 strcmp(collname, coll->co_name) != 0 ||
303 strcmp(release, coll->co_release) != 0)
307 lprintf(1, "Updating collection %s/%s\n", coll->co_name,
308 coll->co_release);
310 if (coll->co_options & CO_COMPRESS)
313 st = status_open(coll, coll->co_scantime, &errmsg);
318 fup = fup_new(coll, st);
332 if (coll->co_options & CO_COMPRESS)
347 struct coll *coll;
360 coll = fup->coll;
368 coll->co_name, coll->co_release);
531 coll->co_umask);
633 error = mkdirhier(fup->destpath, coll->co_umask);
677 error = updater_setdirattrs(up, coll, fup, name, attr);
747 error = updater_updatenode(up, coll, fup, name, attr);
843 struct coll *coll;
846 coll = fup->coll;
847 if (coll->co_options & CO_DELETE) {
854 if (coll->co_options & CO_CHECKOUTMODE)
855 updater_prunedirs(coll->co_prefix, fup->destpath);
880 struct coll *coll;
885 coll = fup->coll;
899 fa = fattr_forcheckout(rcsattr, coll->co_umask);
950 struct coll *coll;
956 coll = fup->coll;
967 fixups_put(up->config->fixups, fup->coll, sr->sr_file);
969 if (coll->co_options & CO_KEEPBADFILES)
976 fattr_umask(sr->sr_clientattr, coll->co_umask);
1015 if (coll->co_options & CO_CHECKOUTMODE)
1030 updater_setdirattrs(struct updater *up, struct coll *coll,
1045 fattr_umask(sr->sr_clientattr, coll->co_umask);
1079 struct coll *coll;
1086 coll = fup->coll;
1146 tmp = fattr_forcheckout(sr->sr_serverattr, coll->co_umask);
1231 struct coll *coll;
1235 coll = fup->coll;
1240 di->di_cvsroot = coll->co_cvsroot;
1248 error = diff_apply(up->rd, fup->orig, fup->to, coll->co_keyword, di, 1);
1259 updater_updatenode(struct updater *up, struct coll *coll,
1279 error = mkdirhier(fup->destpath, coll->co_umask);
1292 fattr_umask(fa, coll->co_umask);
1356 struct coll *coll;
1367 coll = fup->coll;
1373 error = mkdirhier(path, coll->co_umask);
1428 struct coll *coll;
1435 coll = fup->coll;
1443 error = mkdirhier(path, coll->co_umask);
1538 struct coll *coll;
1548 coll = fup->coll;
1557 error = mkdirhier(fup->destpath, coll->co_umask);
1608 coll->co_cvsroot, coll->co_tag);
1612 coll->co_cvsroot, coll->co_tag);
1617 coll->co_cvsroot, coll->co_tag);
1627 coll->co_cvsroot, coll->co_tag);
1635 coll->co_cvsroot, coll->co_tag);
1645 coll->co_cvsroot, coll->co_tag);
1655 coll->co_cvsroot, coll->co_tag);
1670 fattr_umask(sr->sr_serverattr, coll->co_umask);