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

RE: propset on url

From: Bert Huijben <B.Huijben_at_competence.biz>
Date: Fri, 19 Sep 2008 13:01:41 +0200

> -----Original Message-----
> From: Purple Streak [mailto:mrpurplestreak_at_googlemail.com]
> Sent: vrijdag 19 september 2008 11:50
> To: users_at_subversion.tigris.org
> Subject: Re: propset on url
>
> 2008/9/18 Bert Huijben <bert_at_vmoo.com>:
> > In 1.5 you can always use 'svn propedit' to add or edit a property
on
> an
> > url.
>
> This brings up an editor though so you can't use it from scripts

A few months ago it has been suggested that you can define what editor
you use with the SVN_EDITOR (or EDITOR or VISUAL) environment variable.

If you define SVN_EDITOR to be a script that writes the new content to
the file passed, you can easily use that trick.

The other options is using a language binding, that passes a base
version to the api.

See http://subversion.tigris.org/links.html#bindings for a list of
bindings. (I know SharpSvn allows you to set a property over an url).

Just before I send this mail I remembered to look at 'svnmucc', and it
looks like that is an easier solution to this question.

svnmucc propset NAME VALUE URL

should do what you asked.

        Bert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-19 13:02:08 CEST

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