sapling/mercurial
Alexis S. L. Carvalho 393022dbbb dirstate.statwalk: explicitly test for ignored directories
This removes a hack where we appended '/' to a dirname so that:
- it would not appear on the "dc" dict
- it would always be matched by the match function

This was a contorted way of checking if the directory was matched by
some hgignore pattern, and it would still fail with some uses of
--include/--exclude patterns.

Things would still work fine if we removed the check altogether and
just appended things to "work" directly, but then we would end up
walking ignored directories too, which could be quite a bit of work.

This allows further simplification of the match function returned by
util._matcher, and fixes walking the working directory with a
--include pattern that matches only the end of a name.
2007-03-10 23:00:54 -03:00
..
hgweb web/server: disable address reuse option for BaseHTTPServer on windows 2007-02-19 10:08:59 +01:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py white space and line break cleanups 2006-11-17 08:06:54 +01:00
appendfile.py reduce memory used when appendfile appends to real file. 2006-05-09 11:08:06 -07:00
archival.py Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2". 2006-11-02 19:23:55 +01:00
base85.c python2.5 PyArg_ParseTuple fix 2006-10-12 14:04:11 -03:00
bdiff.c don't return uninitialized memory from bdiff.blocks() 2007-02-20 22:20:16 +01:00
bundlerepo.py bundlerepo: it was meant to be revdiff() instead of chunk() 2007-01-15 17:56:20 +01:00
byterange.py white space and line break cleanups 2006-11-17 08:06:54 +01:00
changegroup.py fix errors spotted by pychecker 2006-12-10 19:41:57 +01:00
changelog.py Handle transcoding of username and description in changelog 2006-12-03 16:16:33 -06:00
cmdutil.py Leave normalization of patterns to util._matcher 2007-03-10 23:00:46 -03:00
commands.py Make update with no node jump to the tip of the current branch 2007-03-10 17:36:27 -08:00
context.py context: don't spuriously raise abort when a file goes missing. 2006-12-08 13:14:57 -06:00
demandload.py Avoid Python 2.5 warning 2006-08-20 00:44:53 -03:00
dirstate.py dirstate.statwalk: explicitly test for ignored directories 2007-03-10 23:00:54 -03:00
fancyopts.py additional fixes for issue436 2006-12-01 16:18:16 -02:00
filelog.py use forward "/" for internal path and static http, fix issue437 2006-12-05 16:33:40 +01:00
help.py Using --date "" isn't possible, so don't document epoch. (see issue447) 2006-12-16 22:13:56 +01:00
hg.py Try to pass repo.ui to reposetup hooks 2007-02-08 16:31:21 -02:00
httprangereader.py update copyrights. 2006-08-12 12:30:02 -07:00
httprepo.py Close keepalive connections to fix server traceback 2007-02-19 12:38:58 +03:00
i18n.py update copyrights. 2006-08-12 12:30:02 -07:00
keepalive.py fix for digest auth when using keepalive.py 2007-01-08 16:18:29 +01:00
localrepo.py Save an absolute path in repo.path 2007-03-10 22:03:20 -03:00
lock.py Don't step into an endless loop when lock file is empty. 2006-11-20 19:36:28 +01:00
lsprof.py do not try to package lsprof if not available. 2006-06-23 19:20:22 -07:00
mail.py mail.py: don't try to use TLS if python doesn't have SSL support 2007-02-16 04:54:47 -02:00
manifest.py issue352: disallow '\n' and '\r' in filenames (dirstate and manifest) 2006-11-01 17:56:55 +01:00
mdiff.py Don't lie that "binary file has changed" 2007-02-17 09:54:56 -02:00
merge.py merge: fix renaming of subdirectories under renamed directories 2007-02-27 16:20:06 -06:00
mpatch.c mpatch: Fix for malloc corner case on AIX 2006-09-21 16:16:39 -05:00
node.py Define and use nullrev (revision of nullid) instead of -1. 2006-10-29 10:53:51 +01:00
packagescan.py white space and line break cleanups 2006-11-17 08:06:54 +01:00
patch.py remove obsolete code from patch.diff 2007-03-10 23:00:43 -03:00
remoterepo.py update copyrights. 2006-08-12 12:30:02 -07:00
repo.py Add hg.LookupError 2006-10-01 11:58:55 -07:00
revlog.py fix calculation of new heads added during push with -r 2006-12-17 05:00:22 +01:00
sshrepo.py Use UnexpectedOutput exception instead of RepoError in sshrepo, too. 2006-12-02 22:16:00 +01:00
sshserver.py sshrepo: add passing of lookup exceptions 2006-09-09 18:25:06 -07:00
statichttprepo.py fix errors spotted by pychecker 2006-12-10 19:41:57 +01:00
streamclone.py streamclone: stream_out tried to decodefilename non-normalized paths 2007-02-19 09:59:37 +01:00
strutil.py fix issue 322. 2006-08-18 21:03:29 -07:00
templater.py templater.py: fix obfuscate 2006-12-16 02:21:46 -02:00
transaction.py update copyrights. 2006-08-12 12:30:02 -07:00
ui.py Abort on empty username so specifying a username can be forced. 2007-01-24 23:04:51 +01:00
util_win32.py only print a warning when no username is specified 2006-11-28 21:16:05 +01:00
util.py dirstate.statwalk: explicitly test for ignored directories 2007-03-10 23:00:54 -03:00
verify.py verify: add rename link checking 2006-12-01 02:35:46 -06:00
version.py setup.py: reload __version__.py after writing it. 2007-02-06 15:55:20 -02:00