René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Subversion: Modifying the trunk

Note: this page is part of Subversion basic operations.
Franz and Mike get the task of adding Imbe and Jostaberry.
C:\support>cd \mike
Mike wants to be sure he has the newest revistion:
C:\mike>svn update english
At revision 6.
C:\mike>notepad english\fruits.txt
apples
bananas
cherrys
dates
elderberry
figs
grapes
honeydews
imbes
jostaberries
C:\mike>svn commit english -m "Added imbe and jostaberry"
Sending        english\fruits.txt
Transmitting file data .
Committed revision 7.
Similarly, Franz is going to change his fruits.txt:
C:\mike>cd \franz
Franz wants to be sure he has the newest revision. So he does an update:
C:\franz>svn update german
U  german\fruits.txt
Updated to revision 7.
The U signifies that the file was updated. This is because the support team has added Holunderbeere which Franz didn't not yet have in his his working copy.
C:\franz>notepad german\fruits.txt
Äpfel
Bananen
Kirschen
Datteln
Holunderbeere
Feigen
Trauben
Honigmelonen
Imben
Jostabeeren
Franz commits his work, too:
C:\franz>svn commit german -m "Adding Imben and Jostabeeren"
Sending        german\fruits.txt
Transmitting file data .
Committed revision 8.