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

Problems with Ruby bindings (propget)

From: Research Development <HDM_RD-AS5.1_at_gmx.de>
Date: Mon, 19 Jan 2009 08:32:56 +0100

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_at_subversion.tigris.org].
Received on 2009-01-27 22:38:27 CET

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

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