Mercurial hgignore/subinclude 不适用于目录
Mercurial hgignore/subinclude not working for directories
这个 .hgignore 似乎对我不起作用。忽略 glob 文件,但不忽略子包含中指定的内容:
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
这个 .hgignore 似乎对我不起作用。忽略 glob 文件,但不忽略子包含中指定的内容:
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