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

Re: API function to set a regular property value

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-10 01:23:44 CEST

On 8/9/06, marc.ballat@excite.com <marc.ballat@excite.com> wrote:
> Hi,
>
> I am desperatly looking for a way to write a C program that will set the
> value of a property without a working copy.
>
> My repository is primarily accessed by WebDAV. Every time a file is added
> to the repository, I'd like to assign it a unique identifier (GUID)
> programatically. I would like to do that using a hook script. I know the
> warning related to modifying a transaction during commit but still would
> like to do it.
>
> Is there an API other than the WebDAV one that will let me work on a file
> without a WC ?

Currently there is no API for that at the client level. You could
write something that uses libsvn_ra to do it, it wouldn't actually be
that hard to do. Just grab a commit editor, open the file/directory
you want to modify a prop on, then modify the property, then close the
file/directory and close the editor and you're done.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 10 01:25:13 2006

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.