[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: Fri, 23 Jan 2009 16:05:10 +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

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1044954
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-23 17:11:13 CET

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