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

Re: Setting up the Configuration File

From: Sean Laurent <sean_at_neuronfarm.com>
Date: 2005-03-31 20:02:17 CEST

On Thursday 31 March 2005 11:47 am, Robert Mohr wrote:
> Use the post-commit hook in roughly the same capacity as your current
> pre-commit, and call 'svn propset svn:keywords Id
> file://localhost$path' when keywords are not set. Then call 'svn
> commit -m "Automatically setting svn:keywords to 'Id'."'
>
> This results in an extra revision whenever a file without svn:keywords
> set is committed, but I don't see how else to do this.

The big downside with this approach is that as soon as you commit a file to
respository, assuming the file does not have svn:keywords set properly, your
working copy is out of date. Specifically, the file you just committed is
out of date. Kind of annoying.

-Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 31 20:16:11 2005

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.