[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: Michael Selbermann <HDM_RD-AS5.1_at_gmx.de>
Date: Mon, 26 Jan 2009 08:21:27 +0100

Hi,

I'm sorry. A colleague informed me that I should not post without my real name. So again my question:

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 Selbermann

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-- 
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=1053727
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-26 19:57:03 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.