# HG changeset patch # User Siddharth Agarwal # Date 1393559796 28800 # Node ID 004a1744088dbd42abf3cfad4ac71c2547be630d # Parent 710c2755e66a1322d78911a18362636b3b0ead2c exchange: fix docs for pulloperation 'remote' is actually the remote, not the repo one is pulling into. This confused me quite a bit. diff -r 710c2755e66a -r 004a1744088d mercurial/exchange.py --- 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