看了ulipad源码关于svn的地方

      def _get_info(self):
        v = {}
        v['proxy'] = False
        v['server'] = self.pref.svn_proxy_server
        v['port'] = self.pref.svn_proxy_port
        v['password'] = self.pref.svn_proxy_password
        v['timeout'] = self.pref.svn_proxy_timeout
        v['username'] = self.pref.svn_proxy_username

        if wx.Platform == '__WXMSW__':
            from modules import winreg
            try:
                _key = winreg.Key(winreg.HKCU, r'Software\Tigris.org
\Subversion\Config') #####这里
                if 'miscellany' not in _key:
                    key = _key.add('miscellany')
                else:
                    key = _key['miscellany']
            except:
                common.warn(tr("Maybe your subversion doesn't be
installed or installed uncorrectly."))
                raise
            if 'global-ignores' in key.values:
                v['svn_global_ignores'] = key.values['global-
ignores'].getvalue()
            else:
                key.values.set('global-ignores', GLOBAL_IGNORES)
                v['svn_global_ignores'] = key.values['global-
ignores'].getvalue()


On 2008年11月15日, 下午10时06分, limodou <[email protected]> wrote:
> 2008/11/15 cougar2008 <[email protected]>:
>
>
>
> > ulipad 3.9 源码版
> > python 2.5.2
> > py25-pysvn-svn145-1.5.2-872
>
> 那应该没有问题啊
>
> --
> I like python!
> UliPad <<The Python Editor>>:http://code.google.com/p/ulipad/
> UliWeb <<simple web framework>>:http://uliwebproject.appspot.com
> My Blog: (new)http://http://hi.baidu.com/limodou
> (old)http://www.donews.net/limodou

Reply via email to