Otherwise the classes introduced in #1291308: Add setDefaultBranch() and getDefaultBranch() method to VersioncontrolGitRepository won't be available and the update function will fail. I didn't catch that because I probably cleared caches during development, but the function failed when I tested it on a fresh install (that is my d.o staging site).

CommentFileSizeAuthor
#1 1328638-autoload-before-update.patch909 bytesNiklas Fiekas

Comments

Niklas Fiekas’s picture

Status: Active » Needs review
StatusFileSize
new909 bytes

That should do it - like versioncontrol module often uses it.

Niklas Fiekas’s picture

sdboyer’s picture

Status: Needs review » Fixed

cool cool. thanks.

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 077bbed on 6.x-2.x, fix-invalid-default-branches, fullsync-memory authored by Niklas Fiekas, committed by sdboyer:
    Issue #1328638 by Niklas Fiekas: Fixed Autoload cache must be cleared...