Introduction
This file explains how to tag files inside a Svnwiki wiki.
How to tag a file
From the Subversion client
In order to tag a file, set the svnwiki:tags Subversion property on it. It should contain a list of space-separated words.
For example, to set “user”, “developer” and “alien” as the tags of file nelson-castillo, run the following command and commit your changes:
svn ps svnwiki:tags "user developer alien" nelson-castillo
Through the web interface
As of 2007-07-06, we still need to modify Svnwiki's edit form to make it possible to set the tags on a file through the web interface.
One workaround is to use the old and deprecated method to tag files, described further down on this file.
Picking meaningful tags
...
The old tags syntax
Previously, it was possible to tag files using the following syntax as part of the contents of the file (without the space between the two opening brackets):
[ [tags: foo bar]]
While this is still supported (an, indeed, as of 2007-07-06, when I wrote this, most files in most installations still use this syntax), this syntax is deprecated, as it has some limitations. Semantically, the tags of a file are not part of its content but something separate; as such, it makes more sense to store them as a Subversion property, as described above. One obvious problem of including the tags as part of the content of a file was that it only allowed to tag files in wiki format. It was impossible to tag binary files such as images.
Last update: 2007-07-06 (Rev 12068)