Commit b00ffe4f authored by Eric Timmons's avatar Eric Timmons
Browse files

Sync sources earlier

This is really a hack. The core issue is a CLPI source's cache doesn't get
purged when it is synced. Need to figure out some way to handle that.
parent 210103bd
......@@ -68,11 +68,11 @@ the lock file if necessary."
(*vcs-project-override-fun* (make-vcs-override-fun (clpmfile-pathname clpmfile)))
(lockfile nil)
(changedp nil))
(unless localp
(mapc #'sync-source (clpmfile-sources clpmfile)))
(if (probe-file lockfile-pathname)
(setf lockfile (load-lockfile lockfile-pathname :localp localp))
(setf lockfile (create-empty-lockfile clpmfile)))
(unless localp
(mapc #'sync-source (clpmfile-sources clpmfile)))
;; Nuke the lockfile's requirements so that we pick up deletions from the
;; clpmfile.
(setf (context-requirements lockfile) nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment