示例#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)
示例#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)
示例#3
0
文件: hg.py 项目: B-Rich/couchapp
 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)
示例#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)