From: Greg Wilson Date: Mon, 22 Apr 2013 18:10:52 +0000 (-0400) Subject: Adding figures X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38cdffc2da3457380aa287b78a1c2a5067a1f2b0;p=swc-version-control-svn.git Adding figures --- diff --git a/svn.html b/svn.html index 1dbfb02..aa20306 100644 --- a/svn.html +++ b/svn.html @@ -1094,9 +1094,15 @@ svn: resource out of date; try updating and only in his working copy. But since Wolfman's version of the file now includes the lines that Dracula added, - Wolfman can go ahead and commit them as usual to create revision 10. + Wolfman can go ahead and commit them as usual to create revision 10 + (Figure 10).

+
+ Merging Without Conflict +
Figure 10: Merging Without Conflict
+
+

Wolfman's working copy is now in sync with the master, but Dracula's is one behind at revision 9. @@ -1144,7 +1150,16 @@ Elara 11740 259.6528 0.008 40.0 Subversion tells him he can't. But this time, when Dracula does updates his working copy, - he doesn't just get the line Wolfman added to create revision 11. + he doesn't just get the line Wolfman added to create revision 11 + (Figure 11). +

+ +
+ Merge With Conflict +
Figure 11: Merge With Conflict
+
+ +

There is an actual conflict in the file, so Subversion asks Dracula what he wants to do:

@@ -1257,12 +1272,12 @@ Elara 11740 259.6528 0.008 40.0 it displays his file, the common base that he and Wolfman were working from, and Wolfman's file in a three-pane view - (Figure 10): + (Figure 12):

A Difference Viewer -
Figure 10: A Difference Viewer
+
Figure 12: A Difference Viewer

@@ -1351,14 +1366,7 @@ Elara 11740 259.6528 0.008 40.0 Edit your biography in one copy and commit those changes, then switch to the other copy and edit the same file before updating. - Figure 11 shows - the differences between these two challenges.

- -
- Practicing Conflict Resolution -
Figure 11: Practicing Conflict Resolution
-
@@ -1456,12 +1464,12 @@ Elara 11,740 259.6528

We can draw the sequence of events leading up to revision 13 - as shown in Fixture 12: + as shown in Figure 13:

Before Undoing -
Figure 12: Before Undoing
+
Figure 13: Before Undoing

@@ -1471,12 +1479,12 @@ Elara 11,740 259.6528 it's there forever. What he can do instead is merge the old revision with the current revision to create a new revision - (Fixture 13). + (Figure 14).

Merging History -
Figure 13: Merging History
+
Figure 14: Merging History

@@ -1578,7 +1586,7 @@ $ svn copy https://universal.software-carpentry.org/explore/mis The usual way to handle this situation is to create a branch in the repository for each major sub-project - (Figure 14). + (Figure 15). While Wolfman and Dracula work on the main line, Frankenstein and the Mummy create a branch, @@ -1589,7 +1597,7 @@ $ svn copy https://universal.software-carpentry.org/explore/mis

Branching and Merging -
Figure 14: Branching and Merging
+
Figure 15: Branching and Merging

@@ -1683,14 +1691,8 @@ svn diff -r 240:261 fish.dat it exchanges data with the copy of Subversion running on the server.

-
- What's Needed for a Repository -
Figure 15: What's Needed for a Repository
-
-

- To make this to work, we need four things - (Figure 15): + To make this to work, we need four things: