When adding svn keywords like $Id:$ to svn, I notice that they are not getting expanded. Is there a setting that I must do for each project, or is there a better way of making keyword expansion work in svn?
Example:
http://joomlacode.org/gf/project/jmemca ... iew=markup
Keyword expansion in svn not working
Moderators: RussW, RobInk, ChiefGoFor, facedancer
- spacemonkey
- Joomla! Apprentice
- Posts: 37
- Joined: Fri Aug 12, 2005 7:50 pm
- Location: New York City
- Contact:
Keyword expansion in svn not working
Bringing on that Spacemonkey goodness:
website -> www.spacemonkeylabs.com
blog -> blog.spacemonkeylabs.com
website -> www.spacemonkeylabs.com
blog -> blog.spacemonkeylabs.com
- Schlu
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Oct 23, 2005 4:01 pm
- Location: Freiburg / Tettnang
- Contact:
Re: Keyword expansion in svn not working
Did you set the keywords property to your files and modified your subversion config file?
schlu
Code: Select all
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes
### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?'). All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
*.txt = svn:keywords=Id
*.php = svn:keywords=Id
schlu
Re: Keyword expansion in svn not working
the keywords are replaced client side then? So the repository remains unaware of the keywords, is that correct?
- Schlu
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Oct 23, 2005 4:01 pm
- Location: Freiburg / Tettnang
- Contact:
Re: Keyword expansion in svn not working
Yepp, they will be replaced during the export. Think I misunderstood the question. Would be interesting to know this also.