mercurial/commands.py
changeset 50835 04a4f10089f1
parent 50834 57ae6063c494
child 50836 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: