hg site extension
 
(Arne Babenhauserheide)
2014-02-12: FIX: closed the incoming changesets div before adding the incoming

FIX: closed the incoming changesets div before adding the incoming changesets.

diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -1094,7 +1094,6 @@ def getforkdata(ui, repo, target, name, 
                 print "Cannot write commits from fork", forkname, "because the repository type does not support getting the changelog."
             else:
                 raise
-    html += "</div><!-- /incoming-->"
     
     ui.pushbuffer()
     for ch in chlist:
@@ -1102,6 +1101,7 @@ def getforkdata(ui, repo, target, name, 
         t.show(ctx)
     html += ui.popbuffer()
     cleanupfn()
+    html += "</div><!-- /incoming-->"
         
     # add outgoing commits
     html += "<div id='outgoing'><h2>Outgoing commits</h2>"