changeset 50835:04a4f10089f1

copy: drop an unused variable
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 01:15:15 -0400
parents 57ae6063c494
children f7cfac1260be
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: