repos: Fix up the basic mercurial support
The interface cmd prototypes got out of sync so mercurial stopped working. Align with git again to fix that. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
				
					committed by
					
						
						Jan Kiszka
					
				
			
			
				
	
			
			
			
						parent
						
							66bd078e7f
						
					
				
				
					commit
					df8d7b929d
				
			@@ -337,7 +337,7 @@ class MercurialRepo(RepoImpl):
 | 
				
			|||||||
        Provides the hg functionality for a Repo.
 | 
					        Provides the hg functionality for a Repo.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def clone_cmd(self, gitsrcdir, config):
 | 
					    def clone_cmd(self, srcdir):
 | 
				
			||||||
        return ['hg', 'clone', self.effective_url, self.path]
 | 
					        return ['hg', 'clone', self.effective_url, self.path]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def contains_refspec_cmd(self):
 | 
					    def contains_refspec_cmd(self):
 | 
				
			||||||
@@ -361,6 +361,5 @@ class MercurialRepo(RepoImpl):
 | 
				
			|||||||
    def apply_patches_quilt_cmd(self, path):
 | 
					    def apply_patches_quilt_cmd(self, path):
 | 
				
			||||||
        raise NotImplementedError()
 | 
					        raise NotImplementedError()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def set_remote_url_cmd(self, url):
 | 
					    def set_remote_url_cmd(self):
 | 
				
			||||||
        # TODO
 | 
					 | 
				
			||||||
        raise NotImplementedError()
 | 
					        raise NotImplementedError()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user