Mercurial > hg
diff hgext/largefiles/overrides.py @ 37756:e7bf5a73e4e1
forget: add --confirm option
Also added confirmopts in cmdutil.py
Differential Revision: https://phab.mercurial-scm.org/D2934
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Thu, 22 Mar 2018 16:11:42 +0530 |
parents | 886754323bed |
children | f10cb49951e1 |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Fri Apr 13 23:12:07 2018 -0400 +++ b/hgext/largefiles/overrides.py Thu Mar 22 16:11:42 2018 +0530 @@ -1079,9 +1079,10 @@ finally: repo.lfstatus = False -def cmdutilforget(orig, ui, repo, match, prefix, explicitonly, dryrun): +def cmdutilforget(orig, ui, repo, match, prefix, explicitonly, dryrun, confirm): normalmatcher = composenormalfilematcher(match, repo[None].manifest()) - bad, forgot = orig(ui, repo, normalmatcher, prefix, explicitonly, dryrun) + bad, forgot = orig(ui, repo, normalmatcher, prefix, explicitonly, dryrun, + confirm) m = composelargefilematcher(match, repo[None].manifest()) try: