equal
deleted
inserted
replaced
2256 if not pats: |
2256 if not pats: |
2257 raise error.Abort(_('no files specified')) |
2257 raise error.Abort(_('no files specified')) |
2258 |
2258 |
2259 m = scmutil.match(repo[None], pats, opts) |
2259 m = scmutil.match(repo[None], pats, opts) |
2260 dryrun, interactive = opts.get('dry_run'), opts.get('interactive') |
2260 dryrun, interactive = opts.get('dry_run'), opts.get('interactive') |
2261 rejected = cmdutil.forget(ui, repo, m, prefix="", |
2261 uipathfn = scmutil.getuipathfn(repo, forcerelativevalue=True) |
|
2262 rejected = cmdutil.forget(ui, repo, m, prefix="", uipathfn=uipathfn, |
2262 explicitonly=False, dryrun=dryrun, |
2263 explicitonly=False, dryrun=dryrun, |
2263 interactive=interactive)[0] |
2264 interactive=interactive)[0] |
2264 return rejected and 1 or 0 |
2265 return rejected and 1 or 0 |
2265 |
2266 |
2266 @command( |
2267 @command( |