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

Re: set svn:keywords property on svn add

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-02-10 20:36:27 CET

Olaf Hering <olh@suse.de> writes:
> Ok, well, to say it again:
> Is there a way to do a 'svn proset svn:keywords Id file' automatically
> when on runs 'svn add file'? And if there is no such feature, can it be
> added on a per repository base, configureable via ~/.subversion/servers
> (I assume thats the users repository "database")?
>
> The problem I see right now, how do I retrieve the URL on svn add? It
> seems 'svn info' gets it in some way, and even 'svn add' must know it
> somehow. Have to dig depper in the code.

It's extending the directory URL with the name of the file. But the
resulting URL is a bit suspect, because of course it doesn't exist in
the repository yet...

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 10 21:07:59 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.