Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 6317:b0d937869417
hgwebdir: Tiny fix for webdir on non-symlink capable platforms.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Mon, 17 Mar 2008 12:40:02 -0700 |
parents | c93b6c0e6e84 |
children | 4e836769d93c |
comparison
equal
deleted
inserted
replaced
6316:ad5baedeee02 | 6317:b0d937869417 |
---|---|
1718 break | 1718 break |
1719 if not match: | 1719 if not match: |
1720 dirlst.append(dirstat) | 1720 dirlst.append(dirstat) |
1721 return not match | 1721 return not match |
1722 else: | 1722 else: |
1723 followsym = false | 1723 followsym = False |
1724 | 1724 |
1725 if (seen_dirs is None) and followsym: | 1725 if (seen_dirs is None) and followsym: |
1726 seen_dirs = [] | 1726 seen_dirs = [] |
1727 _add_dir_if_not_there(seen_dirs, path) | 1727 _add_dir_if_not_there(seen_dirs, path) |
1728 for root, dirs, files in os.walk(path, topdown=True, onerror=errhandler): | 1728 for root, dirs, files in os.walk(path, topdown=True, onerror=errhandler): |