Mercurial > hg
diff hgext/largefiles/overrides.py @ 36939:45bfcd16f27e
forget: add --dry-run mode
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Sat, 10 Mar 2018 12:33:19 +0530 |
parents | 4daa22071d5d |
children | 08890706366e |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Fri Mar 09 15:53:41 2018 +0100 +++ b/hgext/largefiles/overrides.py Sat Mar 10 12:33:19 2018 +0530 @@ -1077,9 +1077,9 @@ finally: repo.lfstatus = False -def cmdutilforget(orig, ui, repo, match, prefix, explicitonly): +def cmdutilforget(orig, ui, repo, match, prefix, explicitonly, dryrun): normalmatcher = composenormalfilematcher(match, repo[None].manifest()) - bad, forgot = orig(ui, repo, normalmatcher, prefix, explicitonly) + bad, forgot = orig(ui, repo, normalmatcher, prefix, explicitonly, dryrun) m = composelargefilematcher(match, repo[None].manifest()) try: