forked from importers/git-importer
		
	Make sure we create devel branch, when no diff to Factory
This commit is contained in:
		@@ -86,6 +86,11 @@ class GitExporter:
 | 
			
		||||
            logging.debug(f"Committing {flat}")
 | 
			
		||||
            self.commit_flat(flat, branch_state)
 | 
			
		||||
 | 
			
		||||
        # make sure that we create devel branch
 | 
			
		||||
        if not branch_state["devel"]:
 | 
			
		||||
            logging.debug("force creating devel")
 | 
			
		||||
            self.git.set_branch_head("devel", self.git.branch_head("factory"))
 | 
			
		||||
 | 
			
		||||
        self.git.push(force=True)
 | 
			
		||||
 | 
			
		||||
    def run_gc(self):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user