D3021: context: drop support for changeid='' (API)
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Apr 2 18:48:48 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG21811e4643ea: context: drop support for changeid='' (API) (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3021?vs=7512&id=7519
REVISION DETAIL
https://phab.mercurial-scm.org/D3021
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -411,9 +411,6 @@
"""changeid is a revision number, node, or tag"""
super(changectx, self).__init__(repo)
- if changeid == '':
- changeid = '.'
-
try:
if isinstance(changeid, int):
self._node = repo.changelog.node(changeid)
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list