Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 8663:45f626a39def
wrap string literals in error messages
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 31 May 2009 01:30:16 +0200 |
parents | cb74433f9b41 |
children | b6511055d37b |
comparison
equal
deleted
inserted
replaced
8662:eaee3491ce11 | 8663:45f626a39def |
---|---|
1400 | 1400 |
1401 if heads is None: | 1401 if heads is None: |
1402 cg = remote.changegroup(fetch, 'pull') | 1402 cg = remote.changegroup(fetch, 'pull') |
1403 else: | 1403 else: |
1404 if not remote.capable('changegroupsubset'): | 1404 if not remote.capable('changegroupsubset'): |
1405 raise util.Abort(_("Partial pull cannot be done because other repository doesn't support changegroupsubset.")) | 1405 raise util.Abort(_("Partial pull cannot be done because " |
1406 "other repository doesn't support " | |
1407 "changegroupsubset.")) | |
1406 cg = remote.changegroupsubset(fetch, heads, 'pull') | 1408 cg = remote.changegroupsubset(fetch, heads, 'pull') |
1407 return self.addchangegroup(cg, 'pull', remote.url()) | 1409 return self.addchangegroup(cg, 'pull', remote.url()) |
1408 finally: | 1410 finally: |
1409 lock.release() | 1411 lock.release() |
1410 | 1412 |