equal
deleted
inserted
replaced
376 class pulloperation(object): |
376 class pulloperation(object): |
377 """A object that represent a single pull operation |
377 """A object that represent a single pull operation |
378 |
378 |
379 It purpose is to carry push related state and very common operation. |
379 It purpose is to carry push related state and very common operation. |
380 |
380 |
381 A new should be created at the begining of each push and discarded |
381 A new should be created at the begining of each pull and discarded |
382 afterward. |
382 afterward. |
383 """ |
383 """ |
384 |
384 |
385 def __init__(self, repo, remote, heads=None, force=False): |
385 def __init__(self, repo, remote, heads=None, force=False): |
|
386 # repo we pull into |
|
387 self.repo = repo |
386 # repo we pull from |
388 # repo we pull from |
387 self.repo = repo |
|
388 # repo we pull to |
|
389 self.remote = remote |
389 self.remote = remote |
390 # revision we try to pull (None is "all") |
390 # revision we try to pull (None is "all") |
391 self.heads = heads |
391 self.heads = heads |
392 # do we force pull? |
392 # do we force pull? |
393 self.force = force |
393 self.force = force |