查找/替换(Find/Replace)和 RegexPal 都不会搜索项目的完整历史,所以我无法想象长历史会导致速度变慢。
一般的答案是,你不能编辑或修剪项目中的历史。更准确的技术答案是,你无法在当前项目中做到这一点,但你可以创建一个经过修剪的新项目。你必须记住,这需要整个团队删除旧项目并重新下载新项目,而且你还必须在 PT Registry 上注册新项目。这是一个关于是否值得花费时间和精力去做这件事的问题。
实际上,修剪历史的过程也很复杂,涉及命令行工具和 PT 实际使用的版本控制程序(Mercurial)。如果这一切听起来像是一门外语,如果你想这样做,就需要技术帮助。如果这听起来可行,我可以查找我之前的笔记,看看我用来删除某个时间点之前的历史的实际命令(我们在从 PT 7 迁移到 8 时这样做过,因此无论如何都要重新注册项目)。
Neither Find/Replace nor RegexPal search the full history of a project, so I can't imagine having a long history would slow things down.
The general answer is that you can't edit or trim the history in a project. The more technically accurate answer is that you can't do it with your current project, but you can create a new project which has things trimmed down. You have to keep in mind that that requires the entire team to delete the old one and re-download a new one, and that you'll have to register the new on on the PT Registry. It's a question of whether it's worth the time and trouble.
The actual process of trimming history is also complex, involving command line tools and the actual versioning program PT uses (Mercurial). If all that sounds like a foreign language, you'd need technical help if you wanted to do this. If that sounds possible, I can search my notes for the actual commands I used a while back to delete history older than a certain point (I did this when we were moving from PT 7 to 8, and thus re-registering the project anyway).
机器翻译自 English