Show More
@@ -407,6 +407,8 b' class dirstate(object):' | |||||
407 | return False |
|
407 | return False | |
408 |
|
408 | |||
409 | def _dirignore(self, f): |
|
409 | def _dirignore(self, f): | |
|
410 | if f == '.': | |||
|
411 | return False | |||
410 | if self._ignore(f): |
|
412 | if self._ignore(f): | |
411 | return True |
|
413 | return True | |
412 | for c in strutil.findall(f, '/'): |
|
414 | for c in strutil.findall(f, '/'): |
@@ -40,6 +40,10 b' echo "--" ; hg status 2>&1 | sed -e \'s/a' | |||||
40 | echo ".*\.o" > .hgignore |
|
40 | echo ".*\.o" > .hgignore | |
41 | echo "--" ; hg status |
|
41 | echo "--" ; hg status | |
42 |
|
42 | |||
|
43 | # Check it does not ignore the current directory '.' | |||
|
44 | echo "^\." > .hgignore | |||
|
45 | echo "--" ; hg status | |||
|
46 | ||||
43 | echo "glob:**.o" > .hgignore |
|
47 | echo "glob:**.o" > .hgignore | |
44 | echo "--" ; hg status |
|
48 | echo "--" ; hg status | |
45 |
|
49 |
General Comments 0
You need to be logged in to leave comments.
Login now