Now, simulate another programmer by creating a folder for his work. This programmer checks out the sandwich project which creates a folder named sandwichproject. He modifies the text of the recipe using Notepad then verifies his differences and commits his changes.
mkdir sandwich svnadmin create sandwichrepo copy con sandwich\recipe.txt 2 slices oat bread honey dijon mustard smoked turkey lettuce tomato F6 1 file(s) copied. svn import sandwich file:///c:/sandwichrepo/sandwichproject -m "inital import" svn list file:///c:/sandwichrepo/sandwichproject
Nov 3 - another view - Instant Subversion
mkdir otherprogrammer cd otherprogrammer svn co file:///c:/sandwichrepo/sandwichproject cd sandwichproject notepad recipe.txt <
> svn status -u M 1 recipe.txt svn diff recipe.txt ================================= --- recipe.txt (revision 1) +++ recipe.txt (working copy) @@ -1,4 +1,4 @@ -2 slices oat bread +2 slices wonder bread honey dijon mustard smoked turkey lettuce C:\otherpgmr\sandwichproject>svn commit -m "Oat bread? Yuck!" Sending recipe.txt Transmitting file data . Committed revision 2.