sapling/hgext3rd
Jun Wu 99386e40fd inhibit: update existing code to work with the rewritten version
Summary:
debuginhibit was removed since we no longer have a separate inhibit state.

smartlog hack about changing "o" to "x" was removed since "obsolete()"
revset is correct and the hack is unnecessary now.

directaccess was removed from tests since inhibit does not depend on it.

`- obsolete()` was added to some revsets to avoid divergence and other
surprises.

Use `inhibit.revive` API in infinitepush and reset to revive changesets
properly.

Remove various hacky code that mangle inhibit state in corner cases.

Most test changes are `o` changed to `x` in output since we draw
`obsolete()` state correctly now. `test-infinitepush-backup-remotefilelog.t`
change was because output could be `bytes/sec` instead of `KB/sec`.

Test Plan: arc unit

Reviewers: #mercurial, kulshrax

Reviewed By: kulshrax

Subscribers: kulshrax, medson, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5391361

Signature: t1:5391361:1499722618:d3c1cf629f0c59ecdf1dfd5e653c1eb6176646b8
2017-07-10 15:45:31 -07:00
..
absorb absorb: fix test 2017-06-13 07:17:36 -07:00
fastannotate remotefilelog: use a connection pool instead of a long running connection 2017-06-20 11:08:15 -07:00
fbamend inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
lfs lfs: add retry logic for transferring a single object 2017-06-16 10:54:07 -07:00
p4fastimport p4fastimport: handle keyword extension 2017-06-19 11:54:10 -07:00
__init__.py debian: Do not package hgext3rd/__init__.py 2016-12-19 16:34:49 -08:00
arcdiff.py arcdiff: use absolute paths 2017-01-20 00:24:45 -08:00
backups.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
bundle2hooks.py check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
catnotate.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
checkmessagehook.py checkmessagehook: use reposetup to setup a hook 2017-03-02 01:05:19 -08:00
chistedit.py chistedit: fix lint error 2017-05-23 15:38:09 -07:00
cleanobsstore.py codemod: use obsutil 2017-07-07 20:54:19 -07:00
commitextras.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
conflictinfo.py conflictinfo: fix test 2017-06-13 07:15:54 -07:00
copytrace.py copytrace: fix logging 2017-06-15 04:08:49 -07:00
debugcommitmessage.py debugcommitmessage: fix tests 2017-06-19 03:01:18 -07:00
debuginhibit.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
dialect.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
directaccess.py test-inhibit: fix the test 2017-05-30 12:56:20 -07:00
dirsync.py dirsync: use _fileset 2017-05-19 21:39:47 -07:00
edrecord.py edrecord: allow specifying a different editor for chunk selection 2017-04-06 16:49:27 -07:00
errorredirect.py errorredirect: modify errorredirect extension to send crash log to scuba table 2017-06-27 09:44:29 -07:00
extorder.py extorder: fix test 2017-06-13 09:13:41 -07:00
extutil.py extutil: add unit tests for runbgcommand 2017-04-11 11:25:40 -07:00
fastlog.py fastlog: fix ScmQuery request parameter name 2017-04-12 13:51:18 -07:00
fastpartialmatch.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
fbconduit.py conduit: added correct Content-Type header for conduit queries 2017-05-17 13:50:37 -07:00
fbhistedit.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
fbshow.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
fixcorrupt.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
generic_bisect.py fastpartialmatch: use bisect to quickly find matching revisions 2017-02-02 05:12:10 -08:00
githelp.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
gitlookup.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
gitrevset.py gitlookup: fix gitnode() template and revset 2017-03-29 07:13:41 -07:00
grepdiff.py grepdiff: fix to match upstream 2017-03-12 12:49:18 -07:00
grpcheck.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
hiddenerror.py hiddenerror: fix out of bounds error 2017-02-25 15:26:19 -08:00
inhibit.py inhibit: completely rewrite the extension 2017-07-10 15:45:07 -07:00
inhibitwarn.py inhibitwarn: temporarily add the extension back 2017-06-26 11:08:30 -07:00
linkrevcache.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
logginghelper.py logginghelper: log obsstore size 2017-04-25 01:09:28 -07:00
mergedriver.py codemod: get rid of ui.backupconfig 2017-03-17 19:42:50 -07:00
morecolors.py morecolors: colorize uncaught exceptions 2017-06-29 09:55:25 -07:00
morestatus.py morestatus: make conflict paths relative 2017-05-17 07:13:41 -07:00
myparent.py templates: fix help messages for template keywords 2017-01-19 12:52:54 -08:00
nointerrupt.py nointerrupt: allowing attendance to default to True 2017-04-24 10:00:31 -07:00
obsshelve.py obsshelve: adopt upsteam changes regarding applybundle 2017-06-29 09:52:11 -07:00
ownercheck.py ownercheck: new extension to prevent operations on repos not owned 2016-07-26 13:10:15 +01:00
patchpython.py patchpython: fix test-check tests 2016-10-20 16:03:31 +01:00
patchrmdir.pyx patchrmdir: new extension to workaround rmdir kernel issues 2017-03-15 18:55:48 -07:00
perftweaks.py perftweaks: remove newhiddencache 2017-05-30 03:42:56 -07:00
phabdiff.py phabdiff: add singlepublicbase revset 2017-06-21 17:03:50 +01:00
phabstatus.py codemod: use obsutil 2017-07-07 20:54:19 -07:00
phrevset.py phrevset: return baseset instead of list 2017-04-24 09:47:52 -07:00
progressfile.py progressfile: fix trailing space 2017-04-26 14:19:39 -07:00
pullcreatemarkers.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
pushrebase.py pushrebase: improve blocknonpushrebase error message 2017-06-19 12:48:46 -07:00
pushvars.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
rage.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
remoteid.py remoteid: move to hgext3rd 2017-05-23 11:47:04 -07:00
reset.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
sampling.py sampling: fix comment 2017-02-07 00:39:26 -08:00
sigtrace.py sigtrace: new extension provides stack traces on signal 2017-03-07 17:25:40 -08:00
simplecache.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
smartlog.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
sparse.py sparse: switch to using repr for hash computation 2017-05-24 09:24:19 -07:00
sshaskpass.py sshaskpass: do not import mercurial 2017-01-05 17:04:34 +00:00
traceprof.pyx traceprof: implement frame deduplication 2017-05-23 11:50:33 -07:00
traceprofimpl.cpp traceprof: store raw Python code object 2017-05-23 11:51:10 -07:00
tweakdefaults.py tweakdefaults: add bookmark -D support 2017-06-24 23:18:52 -07:00
uncommit.py dirstate: switch to new parentchange context 2017-05-22 13:38:37 -07:00
undo.py undo: add olddraft revset to return previous drafts 2017-07-03 19:01:09 -07:00
upgradegeneraldelta.py revlog: rename revlog constants 2017-05-21 17:09:08 -07:00
whereami.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00