...

Open source softwares - Apache SVN(Sub Version)

Back to Course

Lesson Description


Lession - #1556 SVN Review Changes


The files under source control that you have changed display the Modified File symbol in the Current Folder browser. Right- click the file in the Current Folder browser, select Source Control, and select Show variations to open the File variations dialog box and browse the history of a file. You can view information about who preliminarily committed the file, when they committed it, the log dispatches, and the list of files in each change set. You can select multiple files and view modification history for each file. You also can select a modification and browse the lower list of files in the change set. Right- click files to view changes or save variations. Compare to modification to open a dialog box where you can select the variations you want to compare and view a comparison report. You can either Select a modification and click Compare to Local. Select two variations and click Compare named. You also can select a modification and browse the lower list of files in the change set. Right- click files to view changes or save revisions. Compare to Ancestor to run a comparison with the last checked- out version in the sandbox. The Comparison Tool displays a report. Jerry formerly addedarray.c file to the repository. Tom also checks out the latest code and starts working.   ```plaintext tom@CentOS $ svn co http//svnserver.com/svn/project_repo-- username = tom ``` Above command will produce the following result.   ```plaintext Aproject_repo/ trunk Aproject_repo/ trunk/array.c Aproject_repo/ branches Aproject_repo/ tags Checked out revision 2. ``` But, he found that someone has already added the code. So he's curious about who did that and he checks the log message to see more details using the following command   ```plaintext (tom@CentOS trunk>
$ svn log ``` Above command will produce the following result.   ```plaintext r2| jerry|2013-08-17 204043 0530( Sat, 17 Aug 2013>
| 1 line Initial commit r1| jerry|2013-08-04 234308 0530( Sun, 04 Aug 2013>
| 1 line Create trunk, branches, tags directory structure ``` When Tom observes Jerry’s code, he immediately notices a bug in that. Jerry wasn't checking for array overflow, which could cause serious problems. So Tom decides to fix this problem. ```plaintext


```