【发布时间】:2013-01-17 01:13:39
【问题描述】:
有没有办法只选择那些具有修改状态的文件?
是否可以链接选择以添加更具体的选择器?
我想导出那些 Modified 文件中的更改,恢复到我安装插件之前的更改集,然后重新导入更改。
hg diff -I 与模式匹配可能会有所帮助,但在这种情况下,而且很多时候,我只想根据文件的状态来选择文件。
hg st 示例(实际内容因文件夹和文件名/扩展名而异):
M /readme.txt
M /dir1/somefile1.txt
M /dir2/somefile2.txt
M /dir3/somefile3.txt
M /dir4/somefile4.txt
! /plugin/lotsoffileshere.txt
! /plugin/lotsoffileshere.txt
! /plugin/lotsoffileshere.txt
【问题讨论】: