Now that you are familiar with all of the property-related svn subcommands, let’s see how property modifications affect the usual Subversion workflow. As we mentioned earlier, file and directory properties are versioned, just like your file contents. As a result, Subversion provides the same opportunities for merging—cleanly or with conflicts—someone else’s modifications into your own.
As with file contents, your property changes are local modifications, made permanent only when you commit them to the repository with svn commit. Your property changes can be easily unmade, too—the svn revert command will restore your files and directories to their unedited states—contents, properties, and all. Also, you can receive interesting information about the state of your file and directory properties by using the svn status and svn diff commands:
$ svn status calc/button.c M calc/button.c $ svn diff calc/button.c Property changes on: calc/button.c ___________________________________________________________________ Name: copyright + (c) 2006 Red-Bean Software $
Notice how the status
M in the second
column instead of the first. That is because we have modified the
properties on calc/button.c, but
not its textual contents. Had we changed both, we would have seen
M in the first column, too. (We cover
svn status in See an overview of your changes.)
You might also have noticed the nonstandard way that Subversion currently displays property ...