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:
Add the Wireshark boilerplate to the new file(s).
Add a line to each new file containing the following text (case is important, so don't write ID or id or iD):
$Id$
Add the new file(s) to the repository:
$
svn add new_file
Set the line ending property to "native" for the new file(s):
$
svn propset svn:eol-style native new_file
Set version keyword to "Id" for the new file(s):
$
svn propset svn:keywords Id new_file
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.