history of commits

46 views
Skip to first unread message

Arnaud Duval

unread,
Feb 6, 2022, 4:44:36 AM2/6/22
to TortoiseSVN
is it possible to display all commited files between two dates 

if a file is commited several times between these two dates, i'd like all the commits for this file to appear

Stefan

unread,
Feb 6, 2022, 5:11:27 AM2/6/22
to TortoiseSVN
open the log dialog for your wc root. Select the two commits for the two dates. Then right-click and choose "Compare revisions"

Arnaud Duval

unread,
Feb 6, 2022, 5:21:37 AM2/6/22
to TortoiseSVN on behalf of Stefan
i just tried, but it shows only one line per file. i'd like to see all the commits, if a file has been committed 10 times, i'd like to see 10 lines for this file, with the date 

On Sun, Feb 6, 2022 at 11:11 AM Stefan via TortoiseSVN <torto...@googlegroups.com> wrote:
open the log dialog for your wc root. Select the two commits for the two dates. Then right-click and choose "Compare revisions"

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn/dztFNN9Baz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/d09934b9-f3ff-4d18-abd4-0e17ae198ab2n%40googlegroups.com.

Stefan

unread,
Feb 6, 2022, 5:24:13 AM2/6/22
to TortoiseSVN
On Sunday, February 6, 2022 at 11:21:37 AM UTC+1 arsn...@gmail.com wrote:
i just tried, but it shows only one line per file. i'd like to see all the commits, if a file has been committed 10 times, i'd like to see 10 lines for this file, with the date 

you can show the log for each file separately

TSVN does not provide a dialog that show exactly what you want in one place. 

Arnaud Duval

unread,
Feb 7, 2022, 12:56:20 AM2/7/22
to TortoiseSVN on behalf of Stefan
Too bad. I wanted to use it for an activity report. I hope it exists in the future

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/2fc249d7-1b7b-4a68-b2ab-f7cac659675en%40googlegroups.com.

Bruce C

unread,
Feb 7, 2022, 7:29:35 AM2/7/22
to TortoiseSVN
Given the use of TortoiseSVN, it can be assumed that Windows is being used. In that case, there is the option to use the Subversion command line tools and PowerShell to process the Subversion log.

The PowerShell script could retrieve the log entries between the selected dates, where the entry for each revision includes the list of files changed in that revision. The script would create a list of the changed files in all the revisions selected. The script would then select only unique files in the list, such that a specific file that has been changed in multiple revisions would be reduced to a single entry.

In PowerShell, the Subversion command might be as follows:
svn log --xml --revision `{2022-01-01`}:`{2022-01-31`}

N.B. The backticks are required to escape the curly brackets in PowerShell.

Note that the specified svn command creates output in an XML format that may be easier to process in PowerShell. An alternative approach would be to remove the --xml parameter and then use a regular expression to extract the changed files for each revision. The choice would be yours.

Reducing multiple occerences of the same file changed in multiple revisions could be achieved with the Select-Object Powershell command and the -Unique parameter.

Have I done this? No. Would there be reasonable effort for you to create such a PowerShell script? Yes. Perhaps you have a colleague with PowerShell experience and could help.

Seems like a viable option if this report is important to you.

Hope this helps.

Arnaud Duval

unread,
Feb 8, 2022, 8:21:03 AM2/8/22
to TortoiseSVN on behalf of Bruce C
very interesting, i'll do it as soon as i have a little time


Garanti sans virus. www.avast.com

You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn/dztFNN9Baz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/7276811d-36c5-49a8-ac98-61b4fa14aa05n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages