Use profiles for replication
This commit is contained in:
2
main.py
2
main.py
@@ -565,6 +565,8 @@ def apply_commits(params, files, url):
|
||||
scheme = repl.get('scheme')
|
||||
commit = repl.get('id')
|
||||
branch = get_branch(params['from'].replace('tcp://', ''), scheme)
|
||||
if branch:
|
||||
logging.warning(branch)
|
||||
con = OOConnectionParams(scheme, Config.oodb_host, Config.oodb_port, Config.oodb_dbname,
|
||||
Config.oodb_username, Config.oodb_passwd, scheme)
|
||||
ws = OODBWorkspace.ws(scheme)
|
||||
|
||||
Reference in New Issue
Block a user