Thu, 30 Oct 2014 02:06:28 +0200
- now clones sandbox correctly
cobalt.py | file | annotate | diff | comparison | revisions |
--- a/cobalt.py Thu Oct 30 02:02:24 2014 +0200 +++ b/cobalt.py Thu Oct 30 02:06:28 2014 +0200 @@ -207,9 +207,9 @@ os.execl (python, python, * sys.argv) ' Check if a repository exists ' -def check_repo_exists (repo_name): +def check_repo_exists (repo_name, repo_owner): print 'Checking that %s exists...' % repo_name - repo_url = 'https://bitbucket.org/Torr_Samaho/' + repo_name + repo_url = 'https://bitbucket.org/%s/%s' % (repo_owner, repo_name) zanrepo = hgapi.Repo (repo_name) try: @@ -227,9 +227,9 @@ #tried #enddef -check_repo_exists ('zandronum') -check_repo_exists ('zandronum-stable') -check_repo_exists ('zandronum-sandbox') +check_repo_exists ('zandronum', 'Torr_Samaho') +check_repo_exists ('zandronum-stable', 'Torr_Samaho') +check_repo_exists ('zandronum-sandbox', 'crimsondusk') repocheck_timeout = {'zandronum':(time.time()) + 15, 'zandronum-stable':(time.time() + 15), 'zandronum-sandbox':(time.time()) + 15}