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

Re: Help with ~/.subversion/config

From: Jeremy Conlin <jeremit0_at_gmail.com>
Date: 2007-03-20 14:12:33 CET

On 3/19/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
>
> On Mar 19, 2007, at 14:25, Jeremy Conlin wrote:
>
> > I have set some configuration options in my ~/.subversion/config
> > file. Specifically I want to ignore files with an extension of "pyc"
> > so in my config file I have
> > global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
> > *.pyc .*.sw* *.aux
> >
> > Secondly, whenever I add a file with extension "py" or "tex" I want to
> > add some keywords. So in my config file I have
> >
> > *.py = svn:keywords="Author Date Revision Id email"
> > *.tex = svn:keywords="Author Date Revision Id email"
> >
> > I have noticed that subversion is not always ignoring pyc files and it
> > isn't always automatically adding keywords to py and tex files. I set
> > up my repository and my working copy before I modified my config
> > file. Previously, I was setting these options by hand in each
> > directory.
> >
> > Is there some reason why these options are not being seen/followed?
>
> Subversion should be applying your svn:keywords to your *.py and
> *.tex files. However, the Author and email keywords will not work.
> And, there is no keyword called "email" so that's irrelevant. So it's
> just the Author keyword that won't work. You need to specify it
> without the quotes, like this:
>
> *.py = svn:keywords=Author Date Revision Id
> *.tex = svn:keywords=Author Date Revision Id
>
>
> Otherwise Subversion thinks the quotes are part of the keyword name,
> and then it can't find a keyword called: "Author
>
> You will of course also need the line
>
> enable-auto-props = yes

Apparantely, I hadn't read through the config file enough. I had forgotten
to uncomment the above line. It only makes sense that it's something as
simple as that.
Thanks for the help!
Jeremy
Received on Tue Mar 20 14:13:01 2007

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.