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

Can I check out/access the hook scripts remotely through the svn client?

From: Jeff Vincent <jvincent_at_novell.com>
Date: 2005-07-16 01:06:14 CEST

                I was just wondering if there was an equivalent to the
"cvs checkout CVSROOT" command so that I can modify my hook scripts (I
can't find any). The SVN server is managed by our IS&T department and I
don't have physical (or ssh) access.

I want to add some stuff to the pre_commit script to check for the
svn:keywords property and if possible, things like copyright notices and
such on certain types of source code files. I am trying to get as close
to server-side updating of embedded keywords like $Id$ as possible.
From searching the archives, it looks like throwing errors during the
pre-commit phase for adds or imports on certain types of files seems the
only option at this point. Am I missing anything?

It just seems that for a version-control system (that is generally
EXPECTED to be shared by multiple people) that if you are going to
support embedded keywords, that it ought be done at the server-side in
some fashion so that we don't have to incur the penalty (pain and
frustration) of making sure every client is configured correctly. Not
to mention that it seems to be more consistent to enforce a standard of
coding (in our case) at a single point of administration.

I'd be curious (and grateful) to see examples of what others have done
to solve this. Other than this particular nuance, I am loving SVN!!!

Thanks!!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 16 01:07:37 2005

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