
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Binary Files and Translation
|
249
Metadata Properties
A new feature of Subversion is that you can attach arbitrary metadata (or properties)
to files and directories. Properties are arbitrary name/value pairs associated with files
and directories in your working copy.
To set or get a property name, use the
svn propset and svn propget subcommands.
To list all properties on an object, use
svn proplist.
For more information, see “Properties” in Chapter 7.
Conflict Resolution
CVS marks conflicts with in-line conflict markers, and prints a C during an update.
Historically, this has caused problems, because CVS isn’t doing enough. Many users
forget about (or don’t see) the
C after it whizzes by on their terminal. They often for-
get that the conflict markers are even present, and then accidentally commit files
containing conflict markers.
Subversion solves this problem by making conflicts more tangible. It remembers that
a file is in a state of conflict, and won’t allow you to commit your changes until you
run
svn resolved. See “Resolve Conflicts (Merging Others’ Changes)” in Chapter 3
for more details.
Binary Files and Translation
In the most general sense, Subversion handles binary files more gracefully than CVS
does. Because CVS uses RCS, it can only store successive full copies of a changing
binary ...