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

£可爱£侵袭症+ 提交于 2019-12-07 03:07:44

问题


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.


回答1:


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.




回答2:


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).



来源:https://stackoverflow.com/questions/769446/how-i-can-filter-tortoise-svn-revision-graph-before-opening-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!