fix: only apply repository heads on connection

This commit is contained in:
Swann 2021-06-21 18:38:43 +02:00
parent 504dd77405
commit ad795caed5
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -100,7 +100,7 @@ def initialize_session():
# Step 2: Load nodes
logging.info("Applying nodes")
for node in session.repository.index_sorted:
for node in session.repository.heads:
porcelain.apply(session.repository, node)
logging.info("Registering timers")