Open Bug 1694234 Opened 3 years ago Updated 3 years ago

vcsreplicator stream clone function performs working directory checkout in some cases

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect

Tracking

(Not tracked)

REOPENED

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.

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

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Re-open until I fix the unnecessary checkouts on mirrors.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
See Also: → 1715305
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: