New issue 434: apply does'nt work if no ini section in hgrc
http://bitbucket.org/tortoisehg/stable/issue/434/apply-doesnt-work-if-no-ini-section-in

Anonymous on Sat, 25 Jul 2009 18:18:44 +0200:

Description:
  Hi!

I'm using tortoisehg with nautilus and I'm getting following exception if I 
want to add some push paths for the first time:

{{{
** Extensions loaded: color, fetch, hgk, rebase, record
Recoverable runtime error (stderr):
Traceback (most recent call last):
  File "/usr/src/tortoisehg/hggtk/thgconfig.py", line 995, in _apply_clicked
    self.record_new_value(cpath, newvalue)
  File "/usr/src/tortoisehg/hggtk/thgconfig.py", line 955, in record_new_value
    self.ini.new_namespace(section)
TypeError: 'Undefined' object is not callable
}}}

A workaround is to add the section [paths] to the hgrc by my self.

I have python2.6 and iniparse 0.3.1

Regards
Rene


-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to