[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error - ViewCVS for SVN

From: Lele Gaifax <lele_at_seldati.it>
Date: 2003-07-15 22:38:31 CEST

>>>>> Russell Glaue l'ha dit:

    Russell> fs.youngest_rev(self.fs_ptr, self.pool); AttributeError:
    Russell> 'svn.fs' module has no attribute 'youngest_rev'

Yes. This is because of this, around line 32 of fs.py:

# copy the wrapper functions out of the extension module, dropping the
# 'svn_fs_' prefix.
# XXX this might change in the future once we have a consistent naming
# scheme
for name in dir(libsvn.fs):
  if name[:7] == 'svn_fs_':
    vars()[name[7:]] = getattr(libsvn.fs, name)

    Russell> Do I need to change something?

Well, in the meantime, changing the latest line to

    vars()[name] = vars()[name[7:]] = getattr(libsvn.fs, name)

will work and should be almost harmless.

hth,
ciao, lele.

-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 15 22:38:46 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.