 |
Click the line below e2fsck/recovery.c in the text window.
|
You should see another revtool fire up with just that file and its history.
Now we are looking at revtool from the perspective of a single file, not the
repo as a whole.
It should look something like this:
When revtool is launched on a single file within a repo, the default is
to show an annotated view of that file at its latest version. This shows us
the full contents of the file with each line annotated by the revision it
was first introduced as well as who made the change. We can see from our
recovery.c file that we are currently at revision 1.7, which was our
recent commit. This view shows us the entire file, but we really just
wanted to see what was changed between our recent version and the previous
version. For that we just hit d to bring up the diff view.
 |
Type d
|
You can also click nodes in the graph to see diffs of a file. Select the
first revision in the graph by clicking the left mouse button and then select
any other revision by clicking the right mouse button. Revtool will show you
the differences between those two versions. Typing d will automatically
select the previous revision and diff the two, but the two revisions don't
have to be adjacent. You can select any two revisions with your mouse and see
the differences between them.
Revtool will automatically select the previous version and then diff that
with the currently-selected version. It should look like this:
Ahh, there we are! Now we can see the diffs of what was changed in
our last commit. Yup. Just as I thought. We changed jread to
Jread.
Next Step:
Pull some other changes that need a merge