Show More
@@ -33,7 +33,7 b' from rhodecode.lib.vcs.utils.paths impor' | |||
|
33 | 33 | from rhodecode.lib.vcs.utils.hgcompat import ( |
|
34 | 34 | ui, nullid, match, patch, diffopts, clone, get_contact, pull, |
|
35 | 35 | localrepository, RepoLookupError, Abort, RepoError, hex, scmutil, hg_url, |
|
36 | httpbasicauthhandler, httpdigestauthhandler | |
|
36 | httpbasicauthhandler, httpdigestauthhandler, peer | |
|
37 | 37 | ) |
|
38 | 38 | |
|
39 | 39 | from .changeset import MercurialChangeset |
@@ -515,7 +515,8 b' class MercurialRepository(BaseRepository' | |||
|
515 | 515 | """ |
|
516 | 516 | url = self._get_url(url) |
|
517 | 517 | try: |
|
518 |
|
|
|
518 | other = peer(self._repo, {}, url) | |
|
519 | self._repo.pull(other, heads=None, force=None) | |
|
519 | 520 | except Abort, err: |
|
520 | 521 | # Propagate error but with vcs's type |
|
521 | 522 | raise RepositoryError(str(err)) |
General Comments 0
You need to be logged in to leave comments.
Login now