[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: Ariel Ehud <jacob.ariel.ehud_at_googlemail.com>
Date: 2006-08-31 05:25:05 CEST

> 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 ?Thanks in advance, Marc

A few questions:

How are you planning to make a commit without a working copy?
Are you sure you have no WC?

Why do you want to do this *during* the commit, regardless of the
warnings? Why ignore best - at least, advised - practice?

Why do you want to write in C? If ever there was a job for a script,
this is it: I would have thought Python, Perl, Ruby would all be
virtually as fast: after all, it's only going to be a few lines, and
would use virtually no memeory.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 05:26:41 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.