Ejemplo n.º 1
0
 def fetch(self, url, path, *args, **opts):
     if url.startswith("git+ssh://"):
         url = url[9:]
     """ return git cmd path """
     try:
         cmd = locate_program("git", raise_error=True)
     except ValueError, e:
         raise VendorError(e)
Ejemplo n.º 2
0
 def fetch(self, url, path, *args, **opts):
     if url.startswith("git+ssh://"):
         url = url[9:]
 
     """ return git cmd path """
     try:
         cmd = locate_program("git", raise_error=True)
     except ValueError, e:
         raise VendorError(e)
Ejemplo n.º 3
0
 def fetch(self, url, path, *args, **opts):
     """ return git cmd path """
     if url.startswith("hg+ssh://"):
         url = url[8:]
     else:
         url = url.replace("hg://", "http://")
     try:
         cmd = locate_program("hg", raise_error=True)
     except ValueError, e:
         raise VendorError(e)
Ejemplo n.º 4
0
 def fetch(self, url, path, *args, **opts):
     """ return git cmd path """
     if url.startswith("hg+ssh://"):
         url = url[8:]
     else:
         url = url.replace("hg://", "http://")
     try:
         cmd = locate_program("hg", raise_error=True)
     except ValueError, e:
         raise VendorError(e)