hg site extension
 
(Arne Babenhauserheide)
2012-10-28: polishing

polishing

diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -324,7 +324,6 @@ def getoutgoing(ui, repo, otheruri, othe
 
     if not other: 
         other = hg.peer(repo, {}, otheruri)
-    other.ui.pushbuffer() # ignore ui events
 
     def outgoingchanges(repo, other):
         from mercurial import discovery
@@ -332,6 +331,8 @@ def getoutgoing(ui, repo, otheruri, othe
         og = fco(repo, other, force=True)
         return og.missing
 
+    other.ui.pushbuffer() # ignore ui events
+
     try:
         chlist = outgoingchanges(repo, other)
     except (AttributeError, util.Abort):