Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从事很多项目,有时我宁愿只删除我的本地存储库。但是,由于我偶尔使用秘密阶段(因为我需要检查我的存储库与服务器的不同之处),我在这方面受到了限制。
是否可以使用搜索来查找秘密阶段的变更集,或者我是否必须恢复到(缓慢)
hg log --debug | grep secret -B 2 -A 15
See hg help revsets for information on how to specify ranges of revisions. This should do the trick:
hg help revsets
hg log -r "secret()"