python - Pysvn:propset() shows Path does not exist in revision 0 Error -
python script,
root = "..." commit_info = svncl.propset( "myprop", "test", root, revision=pysvn.revision(pysvn.opt_revision_kind.head))
shows error, pysvn._pysvn_2_7.clienterror: path "..." not exist in revision 0.
you need set base_revision_for_url:
commit_info = svncl.propset( "myprop", "test", root, base_revision_for_url=svncl.revpropget("revision", root)[0].number )
see bug report reference: http://pysvn.tigris.org/issues/show_bug.cgi?id=146
Comments
Post a Comment