changeset 2210:7b458dd6f40d beta

pass in url for remote pull in git
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 27 Apr 2012 00:10:30 +0200
parents 19a6c23af14b
children c00ab8b2893e
files rhodecode/lib/vcs/backends/git/repository.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/git/repository.py	Thu Apr 26 23:55:33 2012 +0200
+++ b/rhodecode/lib/vcs/backends/git/repository.py	Fri Apr 27 00:10:30 2012 +0200
@@ -487,6 +487,7 @@
         url = self._get_url(url)
         cmd = ['pull']
         cmd.append("--ff-only")
+        cmd.append(url)
         cmd = ' '.join(cmd)
         # If error occurs run_git_command raises RepositoryError already
         self.run_git_command(cmd)