On Sat, Jan 19, 2013 at 06:08:07PM +0100, Thomas Neidhart wrote: > On 01/19/2013 05:49 PM, Gilles Sadowski wrote: > > On Sat, Jan 19, 2013 at 02:56:28PM +0100, Thomas Neidhart wrote: > >> Hi, > >> > >> as I have seen it already multiple times, some people do not seem to > >> have subversion auto-props enabled or configured correctly. > >> > >> You should at least add something like the following to your > >> .subversion/config file in the [auto-props] section: > >> > >> *.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id > >> Revision HeadURL > >> > >> Other filetypes may be useful too. > > > > I committed many of those files which you corrected. > > > > This is what I have in "~/.subversion/config" (only relevant parts shown): > > > > [miscellany] > > enable-auto-props = yes > > svn:keywords = Date Author Id Revision > > > > [auto-props] > > *.java = svn:eol-style=native > > > > > > Is that supposed to be OK? > > well, it is ok, but then you have to do the svn propset svn:keywords 'Id > Revision' yourself for every java source file you create.
But then, what is the puupose of "enable-auto-props = yes"? [I thought that a commit would automatically add the properties...] Gilles > Otherwise, if you change the line to the one I recommended above (minus > the HeadURL value as suggested by sebb), then any newly added java file > will have these keywords automatically set. > > Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org