Reputation: 1393
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 "..." does not exist in revision 0.
Upvotes: 4
Views: 849
Reputation: 2593
You need to set base_revision_for_url:
commit_info = svncl.propset(
"myprop", "Test", root,
base_revision_for_url=svncl.revpropget("revision", root)[0].number
)
See this bug report for reference: http://pysvn.tigris.org/issues/show_bug.cgi?id=146
Upvotes: 2