Switch to side-by-side view

--- a/ForgeHg/forgehg/model/hg.py
+++ b/ForgeHg/forgehg/model/hg.py
@@ -98,8 +98,8 @@
             session(self._repo).flush(self._repo)
             raise
         log.info('... %r cloned', self._repo)
+        g.post_event('repo_cloned')
         self._repo.refresh(notify=False)
-        g.post_event('repo_cloned')
 
     def commit(self, rev):
         '''Return a Commit object.  rev can be _id or a branch/tag name'''