Mercurial > hg
changeset 20596:004a1744088d
exchange: fix docs for pulloperation
'remote' is actually the remote, not the repo one is pulling into. This
confused me quite a bit.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Thu, 27 Feb 2014 19:56:36 -0800 |
parents | 710c2755e66a |
children | 9155257e6330 |
files | mercurial/exchange.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/exchange.py Thu Feb 27 18:57:03 2014 -0600 +++ b/mercurial/exchange.py Thu Feb 27 19:56:36 2014 -0800 @@ -378,14 +378,14 @@ It purpose is to carry push related state and very common operation. - A new should be created at the begining of each push and discarded + A new should be created at the begining of each pull and discarded afterward. """ def __init__(self, repo, remote, heads=None, force=False): - # repo we pull from + # repo we pull into self.repo = repo - # repo we pull to + # repo we pull from self.remote = remote # revision we try to pull (None is "all") self.heads = heads