Difference between revisions of "SVN"
Line 6: | Line 6: | ||
*<i>tag</i> directory - tag copies | *<i>tag</i> directory - tag copies | ||
+ | |||
+ | =SVN commands= | ||
+ | |||
+ | To compare changes from one revision to another, you may use: | ||
+ | |||
+ | <pre>svn diff --revision 1:4 helloworld.cpp<pre> | ||
+ | |||
+ | This example allows us to see what's changed between the first and fourth revision of the helloworld.cpp file:. |
Revision as of 18:49, 22 October 2006
Branch Maintenance
Repository layout:
- trunk directory - "main line" of development
- branches directory - branch copies
- tag directory - tag copies
SVN commands
To compare changes from one revision to another, you may use:
svn diff --revision 1:4 helloworld.cpp<pre> This example allows us to see what's changed between the first and fourth revision of the helloworld.cpp file:.