User Guide
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!
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):
$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.
Work with the Wireshark sources
39