sapling/mercurial
Siddharth Agarwal cf3f4a0258 pack_dirstate: only invalidate mtime for files written in the last second
Previously we'd place files written in the last second in the lookup set. This
can lead to pathological cases where a file always remains in the lookup set if
it gets modified before the next time status is run.

With this patch, only the mtime of those files is invalidated. This means that
if a file's size or mode changes, we can immediately declare it as modified
without needing to compare file contents.
2013-08-17 20:48:49 -07:00
..
help doc: bump copyright year 2013-07-17 17:34:47 -07:00
hgweb hgweb: search() function supports direct pointing to revision 2013-07-19 02:41:11 +04:00
httpclient httpclient: import 0d1b0a8bc549 to fix bug involving late-arriving RST after a response 2013-08-23 16:16:22 -04:00
pure pack_dirstate: only invalidate mtime for files written in the last second 2013-08-17 20:48:49 -07:00
templates paper: remove unused occurence of changelogtag in views 2013-08-03 00:34:56 +04:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py revlog: choose a consistent ancestor when there's a tie 2013-04-16 10:08:19 -07:00
archival.py archive: raise error.Abort if the file pattern matches no files 2013-03-21 22:09:15 +01:00
base85.c base85: cast Py_ssize_t values to int (issue3481) 2012-06-04 16:59:34 +02:00
bdiff.c bdiff: simplify overflow checks 2013-02-02 16:15:22 -06:00
bookmarks.py bookmarks: pull --update updates to active bookmark if it moved (issue4007) 2013-08-01 21:43:14 -05:00
branchmap.py spelling: fix some minor issues found by spell checker 2013-02-10 18:24:29 +01:00
bundlerepo.py bundlerevlog: extract 'baserevision' method 2013-08-26 16:50:31 -07:00
byterange.py byterange: remove now-unused sys import 2013-02-09 07:44:22 -06:00
changegroup.py bundle: move file chunk generation to it's own function 2013-06-25 13:23:12 -07:00
changelog.py changelog: hexlify node when throwing a LookupError on a filtered node 2013-02-09 06:07:32 -06:00
cmdutil.py revert: fix largefiles breakage 2013-07-26 21:03:25 -05:00
commands.py debugfs: add hardlink support reporting 2013-08-14 12:42:22 -05:00
commandserver.py commandserver: report capabilities sorted 2012-12-12 02:38:14 +01:00
config.py config: discard "%unset" values defined in the other files read in previously 2013-04-26 23:36:12 +09:00
context.py workingfilectx: inherit from basefilectx instead of filectx 2013-08-11 23:50:32 -05:00
copies.py copies: refactor checkcopies() into a top level method 2013-05-01 10:44:21 -07:00
dagparser.py en-us: labeled 2012-08-17 13:58:18 -07:00
dagutil.py cleanup: "raise SomeException()" -> "raise SomeException" 2012-05-12 16:00:58 +02:00
demandimport.py demandimport: determine at load time if __import__ has level argument 2011-08-22 22:50:52 +02:00
dicthelpers.py dicthelpers.diff: compare against default for missing values 2013-04-10 12:31:07 -07:00
diffhelpers.c diffhelpers: use Py_ssize_t in testhunk() 2012-05-12 14:00:51 +02:00
dirs.c dirs: use mutable strings internally 2013-04-10 15:08:28 -07:00
dirstate.py dirstate.status: don't ignore symlink placeholders in the normal set 2013-08-31 10:20:15 -07:00
discovery.py filtering: rename filters to their antonyms 2013-01-13 01:39:16 -06:00
dispatch.py dispatch: add ability to specify a custom pdb module as a debugger 2013-07-25 22:28:34 -05:00
encoding.py tests: stabilize doctest output 2013-01-15 02:59:14 +01:00
error.py hgweb: show correct error message for i18n environment 2013-02-15 18:07:14 +09:00
exewrapper.c exewrapper: adapt for legacy HackableMercurial 2012-08-07 11:04:41 +02:00
extensions.py extensions: remove erroneous comment 2013-02-14 13:56:02 -06:00
fancyopts.py fancyopts: don't show a traceback on invalid integer values 2012-10-08 15:35:16 +02:00
filelog.py filelog: use super() for calling base functions 2013-05-01 10:39:37 -07:00
filemerge.py ui: merge prompt text components into a singe string 2013-05-22 17:31:43 -05:00
fileset.py fileset: handle underbar in symbols 2013-07-23 14:18:56 -05:00
formatter.py formatter: add condwrite method 2012-11-03 14:37:50 -05:00
graphmod.py graphmod: don't try to visit nullrev (issue3772) 2013-01-23 00:20:26 -06:00
hbisect.py bisect: use changelog for iteration 2013-01-22 03:23:02 +01:00
help.py help: use a full header for topic titles 2013-02-10 12:58:57 +01:00
hg.py merge with stable 2013-06-30 15:19:39 -05:00
hook.py blackbox: do not translate the log messages 2013-02-13 12:51:30 -08:00
httpconnection.py httpclient: fix calling convention violation 2012-10-18 23:55:15 -05:00
httppeer.py httppeer: avoid large dumps when we don't see an hgweb repo 2013-02-17 14:41:31 -06:00
i18n.py i18n: use getattr instead of hasattr 2011-07-25 20:46:30 -05:00
ignore.py ignore: process hgignore files in deterministic order 2012-12-17 15:57:02 -08:00
keepalive.py keepalive: drop python 2.2 legacy code 2012-10-02 14:27:13 -07:00
localrepo.py localrepo.status: ignore empty symlink placeholders 2013-08-31 10:16:06 -07:00
lock.py lock: if we fork, ensure that only the parent releases 2013-04-11 13:30:27 -07:00
lsprof.py profiling: replace '+' markup of nested lines with indentation 2013-02-08 22:54:48 +01:00
lsprofcalltree.py drop unused imports 2009-05-14 15:35:46 +02:00
mail.py smtp: use 465 as default port for SMTPS 2013-04-19 01:26:23 +09:00
manifest.py manifestdict: add a method to diff _flags 2013-03-24 17:17:38 -07:00
match.py match: fix root calculation for combining regexps with simple paths 2013-04-30 01:04:35 +02:00
mdiff.py diff: move index header generation to patch 2012-11-15 15:16:41 -08:00
merge.py update: add tracking of interrupted updates (issue3113) 2013-07-25 00:33:28 -05:00
minirst.py minirst: optimize HTML table generation a bit 2013-02-09 21:51:21 +00:00
mpatch.c mpatch: use Py_ssize_t for string length 2012-05-20 01:28:31 +02:00
node.py Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
obsolete.py Backed out changeset c65cc2c5ce84 2013-08-15 21:36:53 -04:00
osutil.c osutil: tab damage, how i hate thee 2012-12-03 13:17:01 -08:00
parser.py en-us: labeled 2012-08-17 13:58:18 -07:00
parsers.c pack_dirstate: only invalidate mtime for files written in the last second 2013-08-17 20:48:49 -07:00
patch.py import: cut commit messages at --- unconditionally (issue2148) 2013-07-27 19:31:14 -05:00
pathencode.c pathencode: fix hashmangle short dir limit (issue3958) 2013-06-19 22:34:34 -07:00
peer.py peer: delete double definition of method peer 2012-07-28 22:36:22 +02:00
phases.py destroyed: invalidate phraserevs cache in all case (issue3858) 2013-04-15 17:10:58 +02:00
posix.py checklink: work around sshfs brain-damage (issue3636) 2013-07-28 15:02:32 -05:00
pushkey.py pushkey: do not exchange obsole markers if feature is disabled 2012-07-28 13:33:06 +02:00
pvec.py pvec: use the correct name for an identifier 2013-04-12 17:20:09 -07:00
py3kcompat.py spelling: relies 2012-08-17 13:58:18 -07:00
repair.py blackbox: add backup bundle paths to blackbox logs 2013-03-13 10:43:51 -07:00
repoview.py repoview: remove unreachable code 2013-04-12 17:18:52 -07:00
revlog.py revlog: pass node as an argument of addrevision 2013-08-19 11:25:23 -07:00
revset.py log: fix behavior with empty repositories (issue3497) 2013-04-17 00:29:54 +04:00
scmposix.py scmutil: split platform-specific bits into their own modules 2013-02-12 11:36:21 -06:00
scmutil.py revsingle: fix silly API issue (issue2992) 2013-07-26 15:42:10 -05:00
scmwindows.py scmutil: fix NameError on windows 2013-02-21 13:16:02 -06:00
setdiscovery.py delete some dead comments and docstrings 2012-08-21 02:41:20 +02:00
similar.py cleanup: eradicate long lines 2012-05-12 15:54:54 +02:00
simplemerge.py cleanup: "raise SomeException()" -> "raise SomeException" 2012-05-12 16:00:58 +02:00
sshpeer.py sshpeer: mark _validrepo internal 2013-07-16 11:18:16 -05:00
sshserver.py sshserver: avoid a multi-dot attribute lookup in a hot loop 2012-09-14 12:09:44 -07:00
sslutil.py sslutil: force SSLv3 on Python 2.6 and later (issue3905) 2013-07-24 14:51:13 -04:00
statichttprepo.py statichttprepo: add missing import of os 2013-04-12 17:17:05 -07:00
store.py store: move top file walk to a separate function 2013-05-08 14:22:00 -07:00
strutil.py Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
subrepo.py subrepo: make submerge() return the merged substate 2013-08-21 22:34:04 +02:00
tags.py tags: update tag type only if tag node is updated (issue3911) 2013-04-30 09:02:02 +09:00
templatefilters.py template: fix tabindent docstring (issue2880) 2013-07-19 12:58:30 -05:00
templatekw.py templatekw: add default styles for hybrid types (issue3887) 2013-04-16 09:44:29 -05:00
templater.py templater: sort functions alphabetically, as filters are 2013-06-29 14:27:53 +04:00
transaction.py spelling: journaling 2012-08-17 13:58:18 -07:00
treediscovery.py util: subclass deque for Python 2.4 backwards compatibility 2012-06-01 17:05:31 -07:00
ui.py ui.config: fix bug in config alternatives from 98114deb235a 2013-07-24 19:13:39 -04:00
unionrepo.py unionrevlog: extract 'baserevision' and 'baserevdiff' methods 2013-08-26 17:11:01 -07:00
url.py proxy: allow wildcards in the no proxy list (issue1821) 2013-08-03 13:23:48 -05:00
util.h store: implement fncache basic path encoding in C 2012-09-18 15:42:19 -07:00
util.py util: check if re2 works before using it (issue 3964) 2013-07-01 06:50:58 +02:00
verify.py clfilter: verify logic should be unfiltered 2012-10-08 17:08:52 +02:00
win32.py windows: check target type before actual unlinking to follow POSIX semantics 2013-05-07 05:04:11 +09:00
windows.py util: add functions to check symlink/exec bits 2013-04-03 11:35:27 -07:00
wireproto.py clone: move file stream walk to a separate function 2013-05-01 10:38:41 -07:00
worker.py worker: properly report errors from worker processes (issue3982) 2013-07-16 15:18:12 -05:00