##// END OF EJS Templates
scm-model: fix the reference to the proper default url used for pushing
marcink -
r2561:d072c29a default
parent child Browse files
Show More
@@ -397,7 +397,7 b' class ScmModel(BaseModel):'
397
397
398 def push_changes(self, repo, username, remote_uri=None):
398 def push_changes(self, repo, username, remote_uri=None):
399 dbrepo = self._get_repo(repo)
399 dbrepo = self._get_repo(repo)
400 remote_uri = remote_uri or dbrepo.clone_uri
400 remote_uri = remote_uri or dbrepo.push_uri
401 if not remote_uri:
401 if not remote_uri:
402 raise Exception("This repository doesn't have a clone uri")
402 raise Exception("This repository doesn't have a clone uri")
403
403
General Comments 0
You need to be logged in to leave comments. Login now