Subversion Diaries:How can I get information about a specific revision number on svn?

Since the start of my professional career I have been using subversion for version control of code base(used by my team). Recently, we moved to perforce. There is a handy command called  "p4 describe" which will describe a change number and tell you about the changes made in that change number.

Problem :

How can I do the same using Subversion? That is, get a revision number and then execute a subversion command so it gives details of a specific revision ?

Solution:

Simple command:

svn log -v -r 140 http://yoursvnrepo

sakshi@sakshi-laptop:~/space/applications$  svn log -v -r 140 svn://sakshi@sakshi.idc.oracle.com/var/svn-repos/applications;
------------------------------------------------------------------------
r140 | sakshi | 2014-04-14 12:04:15 +0530 (Mon, 14 Apr 2014) | 1 line
Changed paths:
   M /example/src/main/app/Test1.java
   M /example/src/main/app/Test2.java
Modified tests to for alignment with new specifications.
------------------------------------------------------------------------



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Oracle Blogs Admin-Oracle

Search

Categories
Archives
« February 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
       
       
Today