changeset 50845 | eb23eada6550 |
parent 50844 | 6720894996f2 |
child 50846 | fdf97ae05165 |
--- a/mercurial/commands.py Sun Aug 20 01:54:59 2023 -0400 +++ b/mercurial/commands.py Sun Aug 20 01:56:23 2023 -0400 @@ -6034,7 +6034,7 @@ """ context = lambda repo: repo.dirstate.changing_files(repo) rev = opts.get('at_rev') - ctx = None + if rev: ctx = logcmdutil.revsingle(repo, rev) if ctx.rev() is not None: