SvnInfo – TracDoc at trac.fzj
wiki:SvnInfo

Version 6 (modified by admin, 7 years ago) (diff)

--

Subversion Information

Documentation

Using Subversion

Command to check out the trunk from a project

% svn co https://svn.version.fz-juelich.de/PROJECT/trunk  my_working_copy_of_trunk

For further information see the following example of a tyical subversion session.

Email Notification

To get an email if something in the repository is changed, select Preferences -> Post-Commit Notification. Inside the text area, you may add the whole tree or subtrees.

Examples:

/            send email, if anything in the repository has changed
/project     send email, if anything in /project or below has changed (recursively)
branches/$   send email, if the changed path ends with branches/, this means that a new branch has created

If the description text ist empty, no mail is sent.

Email Notification (old)

To get an email, if something in the repository is changed, a property email has to be set. The users may add themselves by editing the property email of the corresponding project. The property can be set for the whole repository or just for subtrees.

Examples:

svn propedit email https://svn.version.fz-juelich.de/PROJECTNAME
svn propedit email https://svn.version.fz-juelich.de/PROJECTNAME/subproject
svn commit -m "added new email address"

If the description text ist empty, no mail is sent.

Ignoring Unversioned Files

The svn:ignore property contains a list of file patterns which e.g. svn commit will ignore. Example: Ignore all LaTeX log files.

% svn status
M      report.tex
?      report.log

svn propedit svn:ignore .

Contents of the ignore property:

*.log

The log files aren's displayed furthermore.

% svn status
M      report.tex