sapling/mercurial
Paul Moore c966bce328 Add a new function, fspath
The function, given a relative filename and a root, returns the filename
modified to use the case actually stored in the filesystem (or None if the
file does not exist). The returned name is relative to the root, but retains
the path separators used in the input path. (This is not strictly necessary,
but retaining the path separators minimises misleading test suite failures).

A win32-specific implementation (using win32api.FindFiles) is possible, but it
has not been implemented as testing seems to demonstrate that the
win32-specific code is not significantly faster (thanks to the caching of
results in the generic code).
2008-06-06 19:23:23 +01:00
..
hgweb merge from crew-stable 2008-06-13 12:34:23 +02:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py symmetricdifference: move back to copies 2008-03-29 12:39:47 -05:00
archival.py Remove trailing space 2008-04-08 18:40:11 +02:00
base85.c python2.5 PyArg_ParseTuple fix 2006-10-12 14:04:11 -03:00
bdiff.c Fix bdiff test failures on AIX. 2007-10-23 10:39:24 +00:00
bundlerepo.py drop superfluous param from revlog.addgroup() 2008-06-05 16:25:11 +02:00
byterange.py send conservatively capitalized HTTP headers 2008-01-23 14:28:25 +01:00
changegroup.py improve changegroup.readbundle(), use it in hgweb 2008-02-21 17:02:28 +01:00
changelog.py make sure not to reuse an existing append-file from a previous failed pull 2008-03-14 21:35:49 +01:00
cmdutil.py Merge with crew-stable 2008-06-07 11:43:16 +02:00
commands.py update: add "(nobackup)" to help text of option --clean 2008-06-11 11:00:01 +02:00
context.py Merge with crew-stable 2008-04-12 21:34:01 +02:00
copies.py copies: teach copies about dirstate.copies 2008-06-03 15:41:09 -05:00
demandimport.py demandimport: handling new relative imports 2008-01-16 19:14:54 +03:30
diffhelpers.c Handle patches with misformatted empty lines 2007-11-01 17:15:50 -05:00
dirstate.py Add a folding() method to dirstate 2008-06-06 08:29:16 +01:00
dispatch.py Avoid importing mercurial.node/mercurial.repo stuff from mercurial.hg 2008-03-06 22:51:16 +01:00
extensions.py Remove unused imports 2008-03-06 22:23:41 +01:00
fancyopts.py transform a bunch of print statements to appropriate ui calls 2008-01-18 10:48:25 -06:00
filelog.py Remove unused imports 2008-03-06 22:23:41 +01:00
filemerge.py Merge with -stable 2008-04-13 11:31:45 -05:00
hbisect.py Avoid importing mercurial.node/mercurial.repo stuff from mercurial.hg 2008-03-06 22:51:16 +01:00
help.py help: move "revision syntax" help topics into online help 2008-06-03 21:20:52 +02:00
hg.py repo: add rjoin method 2008-04-11 22:19:52 -07:00
hook.py hook.py: fix redirections introduced by 59a5ced38398 2008-03-14 21:57:46 -03:00
httprangereader.py update copyrights. 2006-08-12 12:30:02 -07:00
httprepo.py remoterepo: no longer needed 2008-03-20 11:12:35 -05:00
i18n.py Enable gettext translations 2006-12-14 17:32:00 -06:00
ignore.py ignore: fix up comment parsing 2007-12-10 10:26:42 -06:00
keepalive.py python 2.6 compatibility: compatibility wrappers for hash functions 2008-04-04 22:36:40 +02:00
localrepo.py tag: record tag we're superseding, if any (issue 1102) 2008-06-13 17:29:10 -05:00
lock.py Use format string for lockname again (was changed by cb157328a155) 2007-07-21 10:39:42 +02:00
lsprof.py Remove unused imports 2008-03-06 22:23:41 +01:00
mail.py replace usage of os.popen() with util.popen() 2008-04-14 14:34:38 +02:00
manifest.py manifest: improve parsing performance by 8x via a new C extension 2008-03-26 10:12:10 -07:00
match.py match: cleanup match classes a bit 2008-05-12 11:37:08 -05:00
mdiff.py python 2.6 compatibility: compatibility wrappers for hash functions 2008-04-04 22:36:40 +02:00
merge.py merge: replace readline() call, missing from posixfile_nt 2008-04-12 20:51:26 +02:00
mpatch.c mpatch: Define Py_ssize_t for old pythons and use it instead of ssize_t. 2007-10-12 11:46:49 +09:00
node.py manifest: speed up creation of the manifestdict 2007-07-23 20:44:08 -05:00
osutil.c osutil: use fdopendir instead of dirfd 2007-10-15 12:57:01 -07:00
osutil.py Add osutil module, containing a listdir function. 2007-10-05 15:01:06 -07:00
parsers.c fix const annotation warning 2008-03-28 19:47:22 +01:00
patch.py match: remove files arg from repo.status and friends 2008-05-12 11:37:08 -05:00
repair.py fix warning from pychecker 2008-03-30 20:21:57 +02:00
repo.py repo: add rjoin method 2008-04-11 22:19:52 -07:00
revlog.py drop superfluous param from revlog.addgroup() 2008-06-05 16:25:11 +02:00
simplemerge.py Remove unused imports 2008-03-06 22:23:41 +01:00
sshrepo.py remoterepo: no longer needed 2008-03-20 11:12:35 -05:00
sshserver.py sshserver: Don't try to close fp if mkstemp failed 2008-04-23 11:40:33 +02:00
statichttprepo.py repo classes: remove unused dev() method 2008-03-20 11:12:35 -05:00
streamclone.py Remove unused imports 2008-03-06 22:23:41 +01:00
strutil.py fix issue 322. 2006-08-18 21:03:29 -07:00
templatefilters.py Add an {isodatesec} template, to show seconds too. 2008-03-17 19:17:54 +02:00
templater.py hgweb: minor improvements for new web style 2008-03-31 21:49:33 -05:00
transaction.py rollback: unlink files truncated to length 0 2008-03-31 23:02:25 -07:00
ui.py ui: disallow newlines in usernames (issue1034) 2008-03-22 13:50:59 -05:00
util_win32.py Add missing import of sys 2008-03-06 22:23:41 +01:00
util.py Add a new function, fspath 2008-06-06 19:23:23 +01:00
verify.py verify: check copy source revlog and nodeid 2008-04-14 22:31:33 +02:00
version.py Make mercurial easy installable again 2008-04-24 13:37:29 +02:00