Submitter | phabricator |
---|---|
Date | March 20, 2019, 6:07 p.m. |
Message ID | <8a2679e7b4c6016387bf53660fb3398d@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/39342/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/sparse.py b/hgext/sparse.py --- a/hgext/sparse.py +++ b/hgext/sparse.py @@ -318,9 +318,10 @@ if temporaryincludes: ui.status(_("Temporarily Included Files (for merge/rebase):\n")) ui.status(("\n".join(temporaryincludes) + "\n")) + return else: - ui.status(_('repo is not sparse\n')) - return + raise error.Abort(_('the debugsparse command is only supported on' + ' sparse repositories')) if include or exclude or delete or reset or enableprofile or disableprofile: sparse.updateconfig(repo, pats, opts, include=include, exclude=exclude,