eol: setup the repo.ui in reposetup() stable
authorSteve Borho <steve@borho.org>
Wed, 15 Sep 2010 17:46:51 -0500
branchstable
changeset 12307 0852da25a31b
parent 12277 a7d3147bd4b3
child 12308 2ae4d6c31dcc
child 12309 fe20536c09d4
eol: setup the repo.ui in reposetup() This fixes problems some have reported using the eol extension together with TortoiseHg. It ensures the ui associated with the repository has the preupdate.eol hook configured.
hgext/eol.py
--- a/hgext/eol.py	Mon Sep 13 16:12:25 2010 +0200
+++ b/hgext/eol.py	Wed Sep 15 17:46:51 2010 -0500
@@ -145,6 +145,7 @@
 
 
 def reposetup(ui, repo):
+    uisetup(repo.ui)
     #print "reposetup for", repo.root
 
     if not repo.local():