Note that there are some explanatory texts on larger screens.

plurals
  1. POMercurial doesn't ignore files in directory I specify
    primarykey
    data
    text
    <p>I have mercurial repository. There is .hgignore file:</p> <pre><code>λ ~/workspace/kompgrafika/nurbs/ cat .hgignore syntax: regexp ^Makefile ^bin/.*$ CMakeFiles/.*$ ^CMakeCache\.txt ^cmake_install\.cmake </code></pre> <p>There is directory named CMakeFiles that I want to ignore:</p> <pre><code>λ ~/workspace/kompgrafika/nurbs/ tree CMakeFiles CMakeFiles ├── 3dfractals.dir │   ├── build.make │   ├── cmake_clean.cmake │   ├── CXX.includecache │   ├── DependInfo.cmake │   ├── depend.internal │   ├── depend.make │   ├── flags.make │   ├── link.txt │    ├── progress.make │   └── src │   ├── DisplayControl.cpp.o │   ├── Drawer.cpp.o │   ├── main.cpp.o │   ├── PointFileReader.cpp.o │   ├── PointGenerator.cpp.o │   └── Program.cpp.o ├── CMakeCCompiler.cmake ├── cmake.check_cache ├── CMakeCXXCompiler.cmake ├── CMakeDetermineCompilerABI_C.bin ├── CMakeDetermineCompilerABI_CXX.bin ├── CMakeDirectoryInformation.cmake ├── CMakeOutput.log ├── CMakeSystem.cmake ├── CMakeTmp │   └── CMakeFiles │   └── cmTryCompileExec.dir ├── CompilerIdC │   ├── a.out │   └── CMakeCCompilerId.c ├── CompilerIdCXX │   ├── a.out │   └── CMakeCXXCompilerId.cpp ├── Makefile2 ├── Makefile.cmake ├── progress.marks └── TargetDirectories.txt </code></pre> <p>7 directories, 31 files</p> <p>But running <code>hg status</code> it does not ignore 3dfractals.dir for some reason.</p> <pre><code>λ ~/workspace/kompgrafika/nurbs/ hg st A .hgignore A docs/pol_10.wings ? CMakeFiles/3dfractals.dir/src/DisplayControl.cpp.o ? CMakeFiles/3dfractals.dir/src/Drawer.cpp.o ? CMakeFiles/3dfractals.dir/src/PointFileReader.cpp.o ? CMakeFiles/3dfractals.dir/src/PointGenerator.cpp.o ? CMakeFiles/3dfractals.dir/src/Program.cpp.o ? CMakeFiles/3dfractals.dir/src/main.cpp.o </code></pre> <p>I am using:</p> <pre><code>λ ~/workspace/kompgrafika/nurbs/ hg --version Mercurial Distributed SCM (version 2.0.2+5-1f9f9b4c2923) (see http://mercurial.selenic.com for more information) Copyright (C) 2005-2011 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. </code></pre> <p>I also tried changing <code>CMakeFiles/.*$</code> to <code>^CMakeFiles$</code>. No results.</p> <p>Any ideas what's wrong?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload