author | Matt Harbison <matt_harbison@yahoo.com> |
Sun, 20 Aug 2023 01:15:15 -0400 | |
changeset 50859 | 04a4f10089f1 |
parent 50858 | 57ae6063c494 |
child 50860 | f7cfac1260be |
--- a/mercurial/commands.py Sun Aug 20 01:14:42 2023 -0400 +++ b/mercurial/commands.py Sun Aug 20 01:15:15 2023 -0400 @@ -2499,7 +2499,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: