If
instead of clicking on the file name we click on the version number beside it, we will
be shown the Subversion log for that file. Finally by clicking on a Changeset number
within the log we will be able to see what was changed for that revision. If we
just want to see the most recent change, we can click the Last Change link in the
default view.
Linking to code
Like the other features of Trac, we can link to parts of the code browser
in areas that support wiki formatting. We can link to changesets, files,
revisions of files, differences between files, and other views. All the ways
of doing these are detailed in the wiki page TracLinks, which exists in
every Trac environment we configure.
Version Control 101
[ 68 ]
Opening a New Branch
We have seen how Subversion allows us to keep our code under control as we
develop; now we will see how we can use it to develop safely.
Consider this series of events: we spend a few days perfecting new reporting
functionality for our application, but it depends on an already existing function.
While we are writing our code another developer changes the way the function
works, which causes our code to break, and checks that in. We then check our code
in, without realizing that it no longer works.
Pages:
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96