phase1: Git step method 'clean' only works in mode 'full'
authorThibaut VARÈNE <hacks@slashdirt.org>
Thu, 21 Jun 2018 15:31:56 +0000 (17:31 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Jun 2018 20:08:43 +0000 (22:08 +0200)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg

index 5f7ca8ebf493f5919e3c19c8c3aefa070f573038..c856cf3f5414b7612eeb5829fd475d56ea31daf3 100644 (file)
@@ -493,10 +493,11 @@ for target in targets:
        ))
 
        # check out the source
+       # method clean runs 'git clean -d -f', method fresh runs 'git clean -d -f x'. Only works with mode='full'
        factory.addStep(Git(
                repourl = repo_url,
                branch = repo_branch,
-               mode = 'incremental',
+               mode = 'full',
                method = 'clean',
                locks = NetLockDl,
        ))