> It's not obvious to me what the bug in subvertpy is, can you post a
> Python snippet that reproduces the issue?
>
> ** Changed in: subvertpy
> Status: New => Incomplete
>
> Maybe it's because the problem of http://svnbridge.codeplex.com/
THE key of the problem is the replay.
"""
Initializes the RA and client layers.
With the SWIG bindings, getting unified diffs runs the remote server
sometimes runs out of open files. It is not known whether the
Subvertpy
is affected by this.
"""
def getclientstring():
return 'hgsubversion'
def getpass(realm, username, may_save):
return self.username or username, self.password or '', False
def getuser(realm, may_save):
return self.username or '', False
2011/9/28 Jelmer Vernooij <email address hidden>
> It's not obvious to me what the bug in subvertpy is, can you post a svnbridge. codeplex. com/
> Python snippet that reproduces the issue?
>
> ** Changed in: subvertpy
> Status: New => Incomplete
>
> Maybe it's because the problem of http://
THE key of the problem is the replay.
"""
Initializes the RA and client layers.
With the SWIG bindings, getting unified diffs runs the remote server
sometimes runs out of open files. It is not known whether the
Subvertpy
is affected by this.
"""
def getclientstring():
return 'hgsubversion'
def getpass(realm, username, may_save):
return self.username or username, self.password or '', False
def getuser(realm, may_save):
return self.username or '', False
providers = ra.get_ platform_ specific_ client_ providers( )
ra. get_simple_ provider( ),
ra. get_username_ provider( ),
ra. get_ssl_ client_ cert_file_ provider( ),
ra. get_ssl_ client_ cert_pw_ file_provider( ),
ra. get_ssl_ server_ trust_file_ provider( ),
ra. get_username_ prompt_ provider( getuser, 0),
ra. get_simple_ prompt_ provider( getpass, 0),
providers += [
]
auth = ra.Auth(providers)
auth. set_parameter( subvertpy. AUTH_PARAM_ DEFAULT_ USERNAME,
auth. set_parameter( subvertpy. AUTH_PARAM_ DEFAULT_ PASSWORD,
if self.username:
self.username)
if self.password:
self.password)
remote = ra.RemoteAccess (url=self. svn_url,
client_ string_ func=getclients tring,
auth= auth)
remote. replay( revision, oldestrev, AbstractEditor( editor) )
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo