Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Apache Subversion
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Properties== One important feature of the Subversion filesystem is properties: simple ''name''=''value'' pairs of text. Most properties occur on filesystem entries (i.e., files and directories). These are versioned just like other changes to the filesystem. The Subversion client reserves the 'svn:' prefix for built-in properties, but other names can be used to define custom properties. ; {{mono|svn:executable}} : Makes a file on [[Unix]]-hosted working copies executable, when supported by the filesystem. ; {{mono|svn:mime-type}} : Stores the [[Internet media type]] ("MIME type") of a file. Affects the handling of diffs and merging. ; {{mono|svn:ignore}} : A list of filename patterns to ignore in a directory. Similar to [[Concurrent Versions System|CVS]]'s <code>.cvsignore</code> file. ; {{mono|svn:keywords}} : A list of ''keywords'' to substitute into a file when changes are made. The file itself must also reference the keywords as {{mono|$keyword$}} or {{mono|$keyword:...$}}. This is used to maintain certain information (e.g., author, date of last change, revision number) in a file without human intervention.<br />The keyword substitution mechanism originates from [[Revision Control System|RCS]] and from CVS.<ref>{{cite web|url=https://man.openbsd.org/OpenBSD-current/man1/rcs.1|title=rcs(1)|work=OpenBSD manual pages}}</ref> ; {{mono|svn:eol-style}} : Makes the client convert [[Newline|end-of-line]] characters in text files. Used when the working copy is needed with a specific EOL style. "native" is commonly used, so that EOLs match the user's OS EOL style. Repositories may require this property on all files to prevent inconsistent line endings, which can cause a problem in itself. ; {{mono|svn:externals}} : Allows parts of other repositories to be automatically checked out into a subdirectory. ; {{mono|svn:needs-lock}} : Specifies that a file is to be checked out with file permissions set to read-only. This is designed for use with the locking mechanism. The read-only permission reminds one to obtain a lock before modifying the file: obtaining a lock makes the file writable, and releasing the lock makes it read-only again. Locks are only enforced during a commit operation. Locks can be used without setting this property. However, that is not recommended, because it introduces the risk of someone modifying a locked file; they will only discover it has been locked when their commit fails. ; {{mono|svn:special}} : This property is not meant to be set or modified directly by users. {{As of | 2010}} it is only used for having [[symbolic link]]s in the repository. When a symbolic link is added to the repository, a file containing the link target is created with this property set. When a Unix-like system checks out this file, the client converts it to a symbolic link. ; {{mono|svn:mergeinfo}} : Used to track merge data (revision numbers) in Subversion 1.5 (or later). This property is automatically maintained by the {{mono|merge}} command, and it is not recommended to change its value manually.<ref>[https://svnbook.red-bean.com/en/1.5/svn.ref.properties.html Subversion Properties<!-- Bot generated title -->]</ref> Subversion also uses properties on revisions themselves. Like the above properties on filesystem entries, the names are completely arbitrary, with the Subversion client using certain properties prefixed with 'svn:'. However, these properties are not versioned, and they can be changed later if allowed by a pre-revprop-change hook.<ref>[https://svnbook.red-bean.com/en/1.7/svn.ref.reposhooks.pre-revprop-change.html pre-revprop-change]</ref> ; {{mono|svn:date}} : The date and time stamp of a revision. ; {{mono|svn:author}} : The name of the user that submitted the change(s). ; {{mono|svn:log}} : The user-supplied description of the change(s).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)