2016-01-11 83 views
2

這個.hgignore似乎不適合我。水珠文件將被忽略,但不是在subincludes指定的東西:Mercurial hgignore/subinclude不能用於目錄

subinclude:SDK.Workspace/.hgignore 

subinclude:SDK.Workspace/Application/.hgignore 

syntax: glob 

*.pyc 
*.o 
*.d 

難道不支持此版本?我使用的是Ubuntu 14.04。

$ hg --version 
Mercurial Distributed SCM (version 3.0.1) 

Directory: ~/Development/CCL/SDK.Workspace 
$ cat .hgignore 
Application.BSP 
Hardware 
webtalk 
SDK.log 
RemoteSystemsTempFiles 
.metadata 
Directory: ~/Development/CCL/SDK.Workspace 
$ hg status Hardware 
? Hardware/.project 
? Hardware/fmm_c5_mb.bit 
? Hardware/fmm_c5_mb_bd.bmm 
? Hardware/ps7_init.c 
? Hardware/ps7_init.h 
? Hardware/ps7_init.html 
? Hardware/ps7_init.tcl 
? Hardware/system.hdf 

回答