[Updated] D11883: directaccess: fix uses of commands.status() that don't go through flag parsing
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Mon Dec 13 14:29:19 UTC 2021
Closed by commit rHGc51408b92b88: directaccess: fix uses of commands.status() that don't go through flag parsing (authored by spectral).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11883?vs=31371&id=31455
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11883/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11883
AFFECTED FILES
mercurial/scmutil.py
CHANGE DETAILS
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -2197,6 +2197,9 @@
returns a repo object with the required changesets unhidden
"""
+ if not specs:
+ return repo
+
if not repo.filtername or not repo.ui.configbool(
b'experimental', b'directaccess'
):
To: spectral, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211213/3fde243c/attachment-0002.html>
More information about the Mercurial-patches
mailing list