Not traversing parts of tree. Bug?
Paul Sargent
psarge at gmail.com
Sat Jul 21 15:41:20 UTC 2007
Hi all,
Mercurial freshman, so finger trouble is entirely possible. I'm
trying to move a small project over to Mercurial, and I'm hitting
something odd. The system is Mercurial 0.9.4 on Mac OS 10.4.10,
running on a HFS+ filesystem.
What I'm trying, is to do the initial import of my code, i.e. the
sequence below.
# hg init
# <setup .hgignore>
# hg addremove
# hg commit
.hgignore looks like this:
---------------------.hgignore --------------------
# use glob syntax.
syntax: glob
*.pyc
*~
*.pch
*~.*
**/build/**
.DS_Store
# switch to regexp syntax.
#syntax: regexp
# ^\.pc/
---------------------.hgignore --------------------
Everything seems to work fine, but it doesn't add part of my tree. In-
particular it skips two directories called:
./Experiments/Histogram View Test
./Experiments/PaintView
There's a third directory in that area of the tree that works fine.
It's called:
./Experiments/CIComposite
Performing a 'hg st' doesn't list the files inside the missing
directories. Neither does 'hg st -i', so it doesn't seem to be
the .hgignore file (I also moved .hgignore out of the way to make
sure... no change).
Trying 'hg add ./Experiments/PaintView' does nothing, but 'hg add ./
Experiments/PaintView/*' adds the files as expected. Unfortunately,
although 'hg st' will now see modified files in that directory, new
files aren't seen.
Any idea what might be going on?
Thanks
Paul
More information about the Mercurial
mailing list