changeset 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 a7d3147bd4b3
children 2ae4d6c31dcc fe20536c09d4
files hgext/eol.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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():