D7741: githelp: drop unused variable assignments
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Dec 27 17:01:43 EST 2019
Closed by commit rHGca5bd34c597b: githelp: drop unused variable assignments (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7741?vs=18957&id=18972
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7741/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7741
AFFECTED FILES
hgext/githelp.py
CHANGE DETAILS
diff --git a/hgext/githelp.py b/hgext/githelp.py
--- a/hgext/githelp.py
+++ b/hgext/githelp.py
@@ -209,7 +209,7 @@
def am(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'import')
ui.status(bytes(cmd), b"\n")
@@ -1139,7 +1139,7 @@
def svndcommit(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'push')
@@ -1148,7 +1148,7 @@
def svnfetch(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'pull')
cmd.append(b'default-push')
@@ -1173,7 +1173,7 @@
cmdoptions = [
(b'l', b'local', None, b''),
]
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
pullcmd = Command(b'pull')
pullcmd.append(b'default-push')
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list