265 pass |
265 pass |
266 |
266 |
267 def outgoing(self, ui, dest, opts): |
267 def outgoing(self, ui, dest, opts): |
268 return 1 |
268 return 1 |
269 |
269 |
|
270 def incoming(self, ui, source, opts): |
|
271 return 1 |
|
272 |
270 class hgsubrepo(abstractsubrepo): |
273 class hgsubrepo(abstractsubrepo): |
271 def __init__(self, ctx, path, state): |
274 def __init__(self, ctx, path, state): |
272 self._path = path |
275 self._path = path |
273 self._state = state |
276 self._state = state |
274 r = ctx._repo |
277 r = ctx._repo |
397 other = hg.repository(self._repo.ui, dsturl) |
400 other = hg.repository(self._repo.ui, dsturl) |
398 return self._repo.push(other, force) |
401 return self._repo.push(other, force) |
399 |
402 |
400 def outgoing(self, ui, dest, opts): |
403 def outgoing(self, ui, dest, opts): |
401 return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts) |
404 return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts) |
|
405 |
|
406 def incoming(self, ui, source, opts): |
|
407 return hg.incoming(ui, self._repo, _abssource(self._repo, False), opts) |
402 |
408 |
403 class svnsubrepo(abstractsubrepo): |
409 class svnsubrepo(abstractsubrepo): |
404 def __init__(self, ctx, path, state): |
410 def __init__(self, ctx, path, state): |
405 self._path = path |
411 self._path = path |
406 self._state = state |
412 self._state = state |