copy: drop an unused variable
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 20 Aug 2023 01:15:15 -0400
changeset 50835 04a4f10089f1
parent 50834 57ae6063c494
child 50836 f7cfac1260be
copy: drop an unused variable
mercurial/commands.py
--- 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: