Show More
@@ -260,7 +260,8 b' bookmsgmap = {\'update\': (_("updating boo' | |||||
260 | } |
|
260 | } | |
261 |
|
261 | |||
262 |
|
262 | |||
263 |
def push(repo, remote, force=False, revs=None, newbranch=False, bookmarks=() |
|
263 | def push(repo, remote, force=False, revs=None, newbranch=False, bookmarks=(), | |
|
264 | opargs=None): | |||
264 | '''Push outgoing changesets (limited by revs) from a local |
|
265 | '''Push outgoing changesets (limited by revs) from a local | |
265 | repository to remote. Return an integer: |
|
266 | repository to remote. Return an integer: | |
266 | - None means nothing to push |
|
267 | - None means nothing to push | |
@@ -269,7 +270,10 b' def push(repo, remote, force=False, revs' | |||||
269 | we have outgoing changesets but refused to push |
|
270 | we have outgoing changesets but refused to push | |
270 | - other values as described by addchangegroup() |
|
271 | - other values as described by addchangegroup() | |
271 | ''' |
|
272 | ''' | |
272 | pushop = pushoperation(repo, remote, force, revs, newbranch, bookmarks) |
|
273 | if opargs is None: | |
|
274 | opargs = {} | |||
|
275 | pushop = pushoperation(repo, remote, force, revs, newbranch, bookmarks, | |||
|
276 | **opargs) | |||
273 | if pushop.remote.local(): |
|
277 | if pushop.remote.local(): | |
274 | missing = (set(pushop.repo.requirements) |
|
278 | missing = (set(pushop.repo.requirements) | |
275 | - pushop.remote.local().supported) |
|
279 | - pushop.remote.local().supported) |
General Comments 0
You need to be logged in to leave comments.
Login now