Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn history via command line

I am trying to write a utility in python to get me all the files that have been modified for a specific branch....i don't care about the date or who commited.

how would I go about doing this? I can handle the python part, I just can't find a command in svn to give me the output.

like image 796
user140736 Avatar asked Mar 01 '10 16:03

user140736


People also ask

How do I view svn history?

To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.

How do I find previous versions in svn?

Using the latest versions of Subclipse, you can actually view them without using the cmd prompt. On the file, simply right-click => Team => Switch to another branch/tag/revision.

Where is svn history stored?

They are stored in the svn:log property. You can add the --revprop flag to the various property commands to view & edit this property.


1 Answers

svn log -l 10 path/to/file

Here 10 is number of entries from logs

e.g.

svn log -l 10 pom.xml
like image 136
shreeneewas Avatar answered Oct 10 '22 15:10

shreeneewas