Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12277:a7d3147bd4b3 | 12307:0852da25a31b |
---|---|
143 except KeyError: | 143 except KeyError: |
144 pass | 144 pass |
145 | 145 |
146 | 146 |
147 def reposetup(ui, repo): | 147 def reposetup(ui, repo): |
148 uisetup(repo.ui) | |
148 #print "reposetup for", repo.root | 149 #print "reposetup for", repo.root |
149 | 150 |
150 if not repo.local(): | 151 if not repo.local(): |
151 return | 152 return |
152 for name, fn in filters.iteritems(): | 153 for name, fn in filters.iteritems(): |