Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




3.11. Add a new file to the Subversion repository

The "usual" way to commit new files is described in Section 3.9, “Contribute your changes”. However, the following might be of interest for the "normal" developer as well.

[Note] Note!

This action is only possible/allowed by the Wireshark core developers who have write access to the Subversion repository. It is put in here, to have all information in one place.

If you (as a core developer) need to add a file to the SVN repository, then you need to perform the following steps:

  1. Add the Wireshark boilerplate to the new file(s).

  2. Add a line to each new file, containing the following text (case is important, so don't write ID or id or iD):


  3. Add the new file(s) to the repository:

    $ svn add new_file

  4. Set the line ending property to "native" for the new file(s):

    $ svn propset svn:eol-style native new_file

  5. Set version keyword to "Id" for the new file(s):

    $ svn propset svn:keywords Id new_file

  6. Commit your changes, including the added file(s).

    $ svn commit new_file other_files_you_modified

Don't forget a brief description of the reason for the commit, so other developers don't need to read the diff in order to know what has changed.

  Published under the terms fo the GNU General Public License Design by Interspire