You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Research Development <HD...@gmx.de> on 2009/01/19 07:32:56 UTC
Problems with Ruby bindings (propget)
Hi,
I have a problem using the ruby bindings:
Using the propget method is possible, but I only get the correct answer from a directory which has
the properties in the repository. Properties which has been set, but not committed, cannot be read by the propget method.
Example:
1) d:\MyWorkingCopy\TopDir\AllSubDirs is the directory which contains some other directories
2) Setting the property svn:externals to Dir1 http://server/svn/Repo1/Project1/trunk of d:\MyWorkingCopy\TopDir\AllSubDirs
3) Commandline svn propget d:\MyWorkingCopy\TopDir\AllSubDirs has the result:
Dir1 http://server/svn/Repo1/Project1/trunk
4) Trying the same with the ruby bindings of svn has an empty hash as result:
ruby call:
ctx = Svn::Client::Context.new
result = ctx.propget( svn:externals, "d:\MyWorkingCopy\TopDir\AllSubDirs" )
==> result = {}
I played around with the rev, peg_rev,... but I didn't have any success.
Any Ideas?
Michael
--
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1033938
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].