sapling/hgext
Jun Wu cbfbcf5b73 fsmonitor: unlink fsmonitor.state before writing dirstate
Summary:
This is an attempt to fix the wrong status issue. A formal fix would be
D7909172, which merges fsmonitor.state into treestate. See the comment in
`__init__.py` change for why status can be wrong.

Although it fixes the "status" path, I'm not sure whether other code paths
writing dirstates could be problematic or not. Anyway, D7909172 should be the
preferred final fix.

Reviewed By: r4-in

Differential Revision: D7916344

fbshipit-source-id: beab1c825b970bb47ffe03617a14eb6f203feafa
2018-05-08 15:26:29 -07:00
..
absorb absorb: use dirstate.rebuild(exact=True) 2018-05-02 17:15:50 -07:00
commitcloud exit unsuccessfully if pushbackup fails to acquire the lock 2018-05-04 14:16:28 -07:00
convert convert: use new-style progress bars 2018-04-13 21:51:33 -07:00
extlib treedirstate: move non-Python part to a separate crate 2018-04-24 15:59:07 -07:00
fastannotate fastannotate: disable forcefollow by default 2018-04-27 23:40:00 -07:00
fastmanifest hg: make sure len(manifest) always raises TypeError 2018-04-13 21:51:45 -07:00
fbamend print the former bookmark target when removing bookmark 2018-04-13 21:51:54 -07:00
fsmonitor fsmonitor: unlink fsmonitor.state before writing dirstate 2018-05-08 15:26:29 -07:00
hggit hg: add hggit.disallowinitbare config option 2018-04-13 21:51:54 -07:00
hgsubversion hg: fix authormap name corruption in hgsubversion 2018-04-13 21:51:53 -07:00
highlight highlight: eagerly discover plugin lexers while demandimport is off 2017-12-08 16:14:19 -05:00
infinitepush exit unsuccessfully if pushbackup fails to acquire the lock 2018-05-04 14:16:28 -07:00
lfs lfs: use new-style progress bars 2018-04-13 21:51:33 -07:00
p4fastimport importer - make it ignore p4 reorgs 2018-05-04 13:36:28 -07:00
perfsuite metrics: create simple metrics framework 2018-04-18 20:08:01 -07:00
remotefilelog clone: add stream_clone_options wireprotocol endpoint 2018-04-25 13:54:54 -07:00
repogenerator repogenerator: add new files and directories over time 2018-04-13 21:51:54 -07:00
treemanifest metrics: add performance logging to important locations 2018-04-23 10:51:21 -07:00
zeroconf codemod: use single blank line 2018-04-13 21:51:08 -07:00
__init__.py hgext: officially turn 'hgext' into a namespace package 2016-02-27 12:56:26 +01:00
acl.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
age.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
amend.py amend: error out if the note is greater than 255bytes 2017-10-19 03:20:47 +05:30
arcdiff.py arcdiff: handle -r option with --since-last-arc-diff 2018-04-13 21:51:14 -07:00
automv.py py3: handle keyword arguments in hgext/automv.py 2017-10-22 23:52:22 +05:30
backups.py flake8: resolve some F checks 2018-04-13 21:51:09 -07:00
blackbox.py blackbox: append "\n" automatically 2018-04-16 20:53:58 -07:00
bugzilla.py registrar: host "dynamicdefault" constant by configitem object 2017-10-21 13:13:20 +09:00
bundle2hooks.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
catnotate.py flake8: resolve some F checks 2018-04-13 21:51:09 -07:00
censor.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
checkmessagehook.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
children.py children: fix the log expansion of hg children in doc 2017-10-31 06:39:38 +05:30
chistedit.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
churn.py churn: use new-style progress bars 2018-04-13 21:51:33 -07:00
cleanobsstore.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
clienttelemetry.py clienttelemetry: announce remote hostname only when stderr is a tty 2018-04-13 21:51:54 -07:00
clindex.pyx buck: build Rust indexes extension 2018-04-13 21:51:11 -07:00
clonebundles.py clonebundles: fix missing newline character 2017-05-24 22:59:59 -04:00
commitextras.py py3: handle keyword arguments in hgext/commitextras.py 2017-10-23 00:01:45 +05:30
configwarn.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
conflictinfo.py conflictinfo: fix hg treating an interupted unshelve as a merge 2018-04-13 21:51:13 -07:00
copytrace.py copytrace: do not use anydbm.get 2018-04-13 21:51:07 -07:00
crdump.py Obsolete markers inside crdump 2018-04-13 21:51:38 -07:00
debugcommitmessage.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
debuginhibit.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
debugshell.py debugshell: assign m to be mercurial 2018-04-17 16:35:25 -07:00
dialect.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
directaccess.py fb-hgext: fix gendoc-related issues 2018-01-09 03:44:33 -08:00
dirsync.py codemod: use single blank line 2018-04-13 21:51:08 -07:00
drop.py codemod: use single blank line 2018-04-13 21:51:08 -07:00
edrecord.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
eol.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
errorredirect.py errorredirect: use sys.exc_info instead of sys.exc_type 2018-04-13 21:51:11 -07:00
extdiff.py configitems: register the 'extdata.*.diffargs' config 2017-10-14 00:34:46 +02:00
extorder.py hgext: use relative imports wherever possible 2018-04-13 21:50:56 -07:00
extutil.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
factotum.py configitems: register the 'factotum.service' config 2017-06-30 03:42:15 +02:00
fastlog.py codemod: use single blank line 2018-04-13 21:51:08 -07:00
fastpartialmatch.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
fbconduit.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
fbhistedit.py fbhistedit: don't create obsmarker for exec results 2018-04-13 21:51:14 -07:00
fbshow.py add getcmdanddefaultopts 2018-04-13 21:51:24 -07:00
fbsparse.py sparse: filter on file containment 2018-05-04 07:31:06 -07:00
fetch.py py3: handle keyword arguments in hgext/fetch.py 2017-10-23 00:02:28 +05:30
fixcorrupt.py fixcorrupt: use new-style progress bars 2018-04-13 21:51:33 -07:00
generic_bisect.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
githelp.py add --abort flag to hg graft 2018-04-13 21:51:19 -07:00
gitlookup.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
gitrevset.py fb-hgext: fix gendoc-related issues 2018-01-09 03:44:33 -08:00
gpg.py configitems: register the 'gpg' arbitraty key section 2017-10-13 23:26:16 +02:00
graphlog.py py3: handle keyword arguments in hgext/graphlog.py 2017-10-23 00:03:08 +05:30
grepdiff.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
grpcheck.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
hgk.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
hgsql.py hgsql: work around mysql-python-connector null byte mangling 2018-04-24 11:05:55 -07:00
hiddenerror.py fb-hgext: fix gendoc-related issues 2018-01-09 03:44:33 -08:00
histedit.py histedit: use new-style progress bars 2018-04-13 21:51:33 -07:00
inhibit.py inhibit: move part of logic to core 2018-04-13 21:51:10 -07:00
inhibitwarn.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
interactiveui.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
journal.py minor improvements to hg journal output 2018-04-13 21:51:48 -07:00
linkrevcache.py linkrevcache: use new-style progress bars 2018-04-13 21:51:34 -07:00
logginghelper.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
logtoprocess.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
lz4revlog.py lz4: fix "import lz4.block" compatibility with demandimport 2018-04-13 21:51:04 -07:00
mergedriver.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
morecolors.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
morestatus.py morestatus: show conflict info whenever merge state exists 2018-04-13 21:51:24 -07:00
mq.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
myparent.py fb-hgext: fix gendoc-related issues 2018-01-09 03:44:33 -08:00
nointerrupt.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
notify.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
obsshelve.py obsshelve: remove 100 patches per branch limit 2018-04-19 15:05:28 -07:00
ownercheck.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
pager.py configitems: register the 'pager.attend-.*' options 2017-10-11 02:26:09 +02:00
patchbomb.py patchbomb: use new-style progress bars 2018-04-13 21:51:34 -07:00
patchrmdir.pyx patchrmdir: move to hgext 2018-01-08 19:25:13 -08:00
perftweaks.py RFC: sparse: ignore case collisions outside the sparse profile 2018-04-13 21:51:37 -07:00
phabdiff.py hgext: use relative imports wherever possible 2018-04-13 21:50:56 -07:00
phabstatus.py phabstatus: fix long line 2018-04-13 21:51:48 -07:00
phrevset.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
progressfile.py progress: implement formatting of bytes values 2018-04-13 21:51:38 -07:00
pullcreatemarkers.py Update markers during hg pullbackup 2018-04-13 21:51:23 -07:00
purge.py purge: use fsmonitor to speed up hg purge 2018-04-13 21:51:16 -07:00
pushrebase.py hg: default to using bundle2 for pushrebase parts 2018-04-13 21:51:53 -07:00
rage.py fix hg rage error handling on non-Windows platforms 2018-05-02 21:08:32 -07:00
rebase.py rebase: on abort, don't strip commits that didn't need rebased (issue5822) 2018-04-13 21:51:51 -07:00
record.py codemod: use single blank line 2018-04-13 21:51:08 -07:00
releasenotes.py releasenotes: show a warning if fuzzywuzzy is not present 2017-10-16 22:46:37 +05:30
relink.py relink: use new-style progress bars 2018-04-13 21:51:34 -07:00
remoteid.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
remotenames.py remotenames: do not expect repo._remotenames to be set unconditionally 2018-04-13 21:51:13 -07:00
reset.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
sampling.py metrics: rename logblockedtimes to logmeasuredtimes 2018-04-18 17:05:32 -07:00
schemes.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
share.py share: move config item declarations into core 2017-11-06 10:33:40 -08:00
shareutil.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
shelve.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
show.py show: move configitems to core 2017-10-18 15:05:03 -07:00
sigtrace.py hg: add optional memory tracing to sigtrace 2018-04-13 21:51:04 -07:00
simplecache.py simplecache: correct indentation error, causing an UnboundLocal exception 2018-04-13 21:51:47 -07:00
smartlog.py hg: fix smartlog.useancestorcache in shared workdirs 2018-04-17 20:34:31 -07:00
sparse.py sparse: move some documentation to extension-level 2018-04-27 23:40:00 -07:00
sshaskpass.py sshaskpass: disable echo more aggressively 2018-04-13 21:51:52 -07:00
stat.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
strip.py codemod: use single blank line 2018-04-13 21:51:08 -07:00
traceprof.pyx hg: basic support for building hg using buck 2018-04-13 21:50:58 -07:00
transplant.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
treedirstate.py treedirstate: actually enable it in tests 2018-05-02 17:15:36 -07:00
tweakdefaults.py tweakdefaults: use hint framework for prev 2018-04-13 21:51:49 -07:00
uncommit.py unamend: backout the core version 2018-01-03 05:35:56 -08:00
undo.py add a hint about hg undo to hide 2018-04-13 21:51:52 -07:00
upgradegeneraldelta.py upgradegeneraldelta: use new-style progress bars 2018-04-13 21:51:34 -07:00
whereami.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
win32mbcs.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00
win32text.py flake8: enable F821 check 2018-04-13 21:51:09 -07:00