「尋找/取代」(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