Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN: How to export changed files with all the log messages to a list?

Is it possible to export all changed files between two revisions, with the history to a list/file..?

lets say I made several changes to some files. What i would like to have is some sort list like this:

rev |  filename  | log
----+------------+-----------------
20  | test.cs    | added ftr 21
20  | file.cs    | added ftr 21
21  | test.cs    | removed bug 212
22  | awesome.cs | added ftr 23
22  | test.cs    | added ftr23
...

I could not find some sort of option to do this in TortoiseSVN. But i would think this is not that dificult to retrieve..? Anyway, if someone can help me with this...

Thanks in advance!

Bruno

like image 219
bruno Avatar asked May 18 '11 12:05

bruno


People also ask

How do I export svn log to excel?

echo Enter the URL of the repository from which to extract the logs. REM Execute SVN command to get all the commit logs from the defined repository. "svn.exe" must be in the path! REM Launch the generated file in Excel in "embedded" mode, with Current Directory as the start folder.

What is the difference between svn checkout and export?

svn export simply extracts all the files from a revision and does not allow revision control on it. It also does not litter each directory with . svn directories. svn checkout allows you to use version control in the directory made, e.g. your standard commands such as svn update and svn commit .

How do I find my svn revision 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 export from svn?

To export a directory from a Subversion repository, do the following: In the main menu, select VCS | Browse VCS Repository | Browse Subversion Repository to open the SVN Repositories tool window. Right-click a directory you want to export and choose Export from the context menu.


2 Answers

you might try the command line version in cygwin:

 svn log -v -r revFrom:revTo

The -v option gets you the list of files that were modified added. Adding --xml outputs the information as XML and you might be able to transform it into what you ultimately need.

like image 21
Andrew Avatar answered Oct 19 '22 13:10

Andrew


You are using TortoiseSVN, so this is very easy using Show Log.

Simply use the TortoiseSVN show log command. Then, in the window appearing, select the range of revisions you want to have info on, clicking on the first and shift+clicking on the last. Then just copy with Ctrl-C and then paste the results in your favorite text editor. The output will show the revision number, author, date, commit message and list the modified, added and deleted files.

like image 193
SolarBear Avatar answered Oct 19 '22 13:10

SolarBear