[Updated] D10201: bisect: replace a missing method on the list primitive
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Wed Mar 17 10:12:59 UTC 2021
Closed by commit rHG184e0ae0a4b2: bisect: replace a missing method on the list primitive (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10201?vs=26315&id=26474
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10201/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10201
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1083,7 +1083,7 @@
if rev:
if not nodes:
raise error.Abort(_(b'empty revision set'))
- node = repo[nodes.last()].node()
+ node = repo[nodes[-1]].node()
with hbisect.restore_state(repo, state, node):
while changesets:
# update state
To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210317/6fe09d60/attachment-0002.html>
More information about the Mercurial-patches
mailing list