forked from importers/git-importer
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			gitingore
			...
			use_git_fo
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | b74f36c81e | ||
|  | 7b9b033adc | ||
|  | c44cb17e5d | ||
|  | 3384a6f2b1 | ||
|  | 17062df04e | 
| @@ -277,7 +277,7 @@ class Git: | ||||
|             ["remote"], | ||||
|             stdout=subprocess.PIPE, | ||||
|         ).stdout.decode("utf-8"): | ||||
|             logger.warning("Not pushing to remote because no 'origin' configured") | ||||
|             logging.warning("Not pushing to remote because no 'origin' configured") | ||||
|             return | ||||
|  | ||||
|         cmd = ["push"] | ||||
|   | ||||
| @@ -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