I've forwarded your mail to the hgview mailinglist. ---------- Forwarded message ---------- From: Юрий Мандрик <invisio...@gmail.com> Date: 2013/5/30 Subject: Re: cyrillic encode problem (hgfileview.py) FIX To: alain leufroy <al...@leufroy.fr>
Next problem HgView:) Revision 971, open repository not working. Error log: *False* *Traceback (most recent call last):* * File "/home/invision/apps/hgview/hgviewlib/qt4/hgrepoviewer.py", line 602, in open_repository* * self.repo = build_repo(ui.ui(), repopath)* * File "/home/invision/apps/hgview/hgviewlib/util.py", line 180, in build_repo* * repo = hg.repository(ui, path)* * File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 112, in repository* * peer = _peerorrepo(ui, path, create)* * File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 102, in _peerorrepo* * obj = _peerlookup(path).instance(ui, path, create)* * File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 76, in _peerlookup* * u = util.url(path)* * File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1647, in __init__* * if parsefragment and '#' in path:* *TypeError: argument of type 'bool' is not iterable* Branch default have two heads, the way it should be? hg head default 971:af045d030a12, 394:09916aa04cf5 2013/5/29 alain leufroy <al...@leufroy.fr> > Hi, > > fixed and reviewed :D > > http://hg.logilab.org/review/hgview/rev/a802dac29c7e > > It will be available on the next release. > > alain > > > 2013/5/28 Юрий Мандрик <invisio...@gmail.com> > >> thank you :) there are still problems with cyrillic: >> - Hg file log viewer >> - Hgview manifest >> >> example log viewer: >> class Controller_Base extends Controller_System_Page { >> >> protected $_permissions; >> /** >> * Флаг подготовки к рендеру; Ñ Ð°Ð¼ >> рендер в любом Ñ Ð»ÑƒÑ‡Ð°Ðµ ручной >> **/ >> example manifest: >> array( >> 'path' => 'www/upload', >> 'name' => '??????????? ?????', >> ), >> >> >> 2013/5/27 alain leufroy <al...@leufroy.fr> >> >>> Hi, >>> >>> Thanks for the feed back :) >>> >>> I've opened a ticket on the hgview forge ( >>> https://www.logilab.org/ticket/142378) >>> >>> The fix is proposed for review (https://www.logilab.org/patch/142381) >>> If accepted, it will be available on the next stable release (1.7.2) >>> >>> best, >>> >>> alain >>> >>> >>> 2013/5/23 Юрий Мандрик <invisio...@gmail.com> >>> >>>> Hi, thanks for the hgview extension! I am from russia, I have a problem >>>> with the work extension hgview. fileview do not support cyrillic encode. >>>> Please, add the following changes next release. >>>> >>>> File: hgfileview.py >>>> line ~170 >>>> >>>> find: >>>> self.sci = HgQsci(self) >>>> after add: >>>> self.sci.setUtf8(True) >>>> >>>> thank you :) >>>> >>> >>> >> >
_______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects