Show More
@@ -246,7 +246,6 b' def push(repo, remote, force=False, revs' | |||||
246 | if not r: |
|
246 | if not r: | |
247 | pushop.ui.warn(_('updating %s to public failed!\n') |
|
247 | pushop.ui.warn(_('updating %s to public failed!\n') | |
248 | % newremotehead) |
|
248 | % newremotehead) | |
249 | pushop.ui.debug('try to push obsolete markers to remote\n') |
|
|||
250 | _pushobsolete(pushop) |
|
249 | _pushobsolete(pushop) | |
251 | finally: |
|
250 | finally: | |
252 | if lock is not None: |
|
251 | if lock is not None: | |
@@ -260,6 +259,7 b' def push(repo, remote, force=False, revs' | |||||
260 |
|
259 | |||
261 | def _pushobsolete(pushop): |
|
260 | def _pushobsolete(pushop): | |
262 | """utility function to push obsolete markers to a remote""" |
|
261 | """utility function to push obsolete markers to a remote""" | |
|
262 | pushop.ui.debug('try to push obsolete markers to remote\n') | |||
263 | repo = pushop.repo |
|
263 | repo = pushop.repo | |
264 | remote = pushop.remote |
|
264 | remote = pushop.remote | |
265 | if (obsolete._enabled and repo.obsstore and |
|
265 | if (obsolete._enabled and repo.obsstore and |
General Comments 0
You need to be logged in to leave comments.
Login now