diff hgext/eol.py @ 12307:0852da25a31b stable

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.
author Steve Borho <steve@borho.org>
date Wed, 15 Sep 2010 17:46:51 -0500
parents 0bb67503ad4b
children 2ae4d6c31dcc
line wrap: on
line diff
--- 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():