You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jack O'Quin <jo...@io.com> on 2005/03/24 21:29:18 UTC
how to set svn:keywords for svn+ssh: access?
We are using SVN 1.1.1 for a new project, and it's working very well.
But, one problem that has stumped us so far: how to set global default
svn:keywords values for newly created files?
We set `enable-auto-props = yes' and defined these patterns in
`/usr/local/etc/subversion/config' on the server where the repository
resides...
[auto-props]
*.html = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.c = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.txt = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.htm = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.pl = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.h = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.cpp = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
*.sh = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
Makefile = svn:keywords="LastChangedDate LastChangedRevision LastChangedBy HeadURL Id"
But, they don't seem to get picked up on remote svn+ssh: accesses. Is
this a client-side only config file as the comments seem to suggest?
We must have missed that in the documentation.
Is there a way to define a global set of keywords for everyone?
--
joq
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: how to set svn:keywords for svn+ssh: access?
Posted by Steve Greenland <st...@lsli.com>.
On Thu, Mar 24, 2005 at 03:29:18PM -0600, Jack O'Quin wrote:
> But, they don't seem to get picked up on remote svn+ssh: accesses. Is
> this a client-side only config file as the comments seem to suggest?
> We must have missed that in the documentation.
You got it.
> Is there a way to define a global set of keywords for everyone?
Nope. You have to set the autoprops on each client machine. :-( You can
enforce the requirement with a pre-commit hook.
Steve
--
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
-- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org