vcsreplicator stream clone function performs working directory checkout in some cases
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Tracking
(Not tracked)
People
(Reporter: sheehan, Assigned: sheehan)
References
Details
Attachments
(1 file)
When creating the backup node for hgmo I noticed some of the repos had checked out working directories. This is because the recent change to bootstrap repos using stream clones did not add the -U/--noupdate
flag to the hg clone
call. Thus in certain cases a default revision will be checked out, which can mean 250k+ files unnecessarily existing on-disk.
We should add the missing flag and audit the mirrors for any unnecessary working directory checkouts.
Assignee | ||
Comment 1•3 years ago
|
||
Else we'll have a whole bunch of repos with useless working directory checkouts,
as we currently do on the backup node.
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/4d1d98525351
vcsreplicator: do not update the working directory after performing a stream clone of a repo r=mhentges
Assignee | ||
Comment 3•3 years ago
|
||
Re-open until I fix the unnecessary checkouts on mirrors.
Description
•