mercurial/exchange.py
changeset 28456 d9d51da7a850
parent 28182 e4fe4e903e97
child 28667 e7bf227e33a5
equal deleted inserted replaced
28455:412ee35a8005 28456:d9d51da7a850
   264 
   264 
   265 
   265 
   266 class pushoperation(object):
   266 class pushoperation(object):
   267     """A object that represent a single push operation
   267     """A object that represent a single push operation
   268 
   268 
   269     It purpose is to carry push related state and very common operation.
   269     Its purpose is to carry push related state and very common operations.
   270 
   270 
   271     A new should be created at the beginning of each push and discarded
   271     A new pushoperation should be created at the beginning of each push and
   272     afterward.
   272     discarded afterward.
   273     """
   273     """
   274 
   274 
   275     def __init__(self, repo, remote, force=False, revs=None, newbranch=False,
   275     def __init__(self, repo, remote, force=False, revs=None, newbranch=False,
   276                  bookmarks=()):
   276                  bookmarks=()):
   277         # repo we push from
   277         # repo we push from