(Arne Babenhauserheide)
2011-11-23: plan for outgoing test plan for outgoing test
diff --git a/site.py b/site.py
--- a/site.py
+++ b/site.py
@@ -311,8 +311,19 @@ def addrepo(ui, repo, target):
# already exists
pass
ui.pushbuffer()
+ commands.outgoing(ui, repo, target, quiet=True)
+ out = ui.popbuffer()
+ # use
+ # other = peer(repo, opts, dest)
+ # common, outheads = discovery.findcommonoutgoing(repo, other, revs,
+ # force=opts.get('force'))
+ # o = repo.changelog.findmissing(common, outheads)
+
+ ui.pushbuffer()
commands.push(ui, repo, dest=target, bookmark=repo._bookmarks)
ui.popbuffer()
+ return out
+
def upload(ui, repo, target, ftpstring, force):