On Nov 19, 2007 7:11 AM, Soo-Hyun Choi <s.choi@hackers.org.uk> wrote:
> Hi,
>
> I have a question on adding $Id$ (and $Revision$, $Author$ etc) information
> to a file.
>
> I have modified "~/.subversion/config" such that uncomment
> "enable-auto-props = yes" and added "* = svn:keywords="Author Date Id Rev
> URL" at "[auto-props]" section in that file. And I have included $Id$ in a
> file, hoping to update the "Id" information automatically when I commit the
> file.
>
> But, I still don't get the $Id$ field updated automatically as I commit that
> file.
>
> Am I doing something wrong here?
Auto-props only take effect when a file is initially added to your
repository. It does not affect files already in your repository. You
need to set the svn:keywords property on those files.
BTW, be very careful with what you've done there. You've told your
client to apply those keywords to *all* files. If you have binary
files (MS Word, images, executables, etc.) you may unwittingly corrupt
them by enabling keywords on them.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 19 14:20:25 2007