Commits

Marcin Kuzminski committed ef9a30e

Fixed remote pull command from todays code refactoring

Comments (0)

Files changed (1)

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,