Commits

Marcin Kuzminski  committed ef9a30e

Fixed remote pull command from todays code refactoring

  • Participants
  • Parent commits 4b82a87
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/model/scm.py

                 .filter(Repository.fork_id == repo_id).count()
 
     def pull_changes(self, repo_name, username):
-        repo, dbrepo = self.get(repo_name, retval='all')
-
+        dbrepo = Repository.by_repo_name(repo_name)
+        repo = dbrepo.scm_instance
         try:
             extras = {'ip': '',
                       'username': username,