Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I can filter Tortoise SVN revision graph before opening it?

Tags:

tortoisesvn

Is there a way to filter the Tortoise SVN revision graph before you open it? Its taking over a minute to open it, which is leading to too many hallway swordfights. I can filter it easily after its open, but thats my problem.

Ideally, I really only need to see the last 100 or so revisions, not everything since the dawn of time.

like image 643
Jonathan Beerhalter Avatar asked Apr 20 '09 18:04

Jonathan Beerhalter


People also ask

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 can I compare two versions of SVN?

Pick the two revisions you want to compare then use Context Menu → Compare Revisions. If you want to compare the same item in two different trees, for example the trunk and a branch, you can use the repository browser to open up both trees, select the file in both places, then use Context Menu → Compare Revisions.

What does TortoiseSVN cleanup do?

This is a fast and easy way to remove all generated files in your working copy. All files and folders that are not versioned are moved to the trash bin. Note: you can also do the same from the TortoiseSVN → Revert dialog. There you also get a list of all the unversioned files and folders to select for removal.


2 Answers

AFAIK you cannot filter the graph - the TortoiseSVN documentation says:

In order to generate the graph, TortoiseSVN must fetch all log messages from the repository root. Needless to say this can take several minutes even with a repository of a few thousand revisions, depending on server speed, network bandwidth, etc. If you try this with something like the Apache project which currently has over 500,000 revisions you could be waiting for some time.

The good news is that if you are using log caching, you only have to suffer this delay once. After that, log data is held locally. Log caching is enabled in TortoiseSVN's settings.

So - make sure that log caching is enabled and future graph views will be faster.

like image 51
Gary.Ray Avatar answered Sep 30 '22 10:09

Gary.Ray


No, that's not possible. Because to generate the graph, TSVN requires the info from the log of all revisions. Otherwise it could miss copies (e.g., if you create a tag from r2 to HEAD, with HEAD being r1000).

like image 43
Stefan Avatar answered Sep 30 '22 09:09

Stefan