Patchwork D3088: extdatasource: use revsymbol() for converting to node

login
register
mail settings
Submitter phabricator
Date April 5, 2018, 1:29 p.m.
Message ID <6b7dec0ab041394f2e1482c8018e9811@localhost.localdomain>
Download mbox | patch
Permalink /patch/30363/
State Not Applicable
Headers show

Comments

phabricator - April 5, 2018, 1:29 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd0d55980ffa7: extdatasource: use revsymbol() for converting to node (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3088?vs=7662&id=7719

REVISION DETAIL
  https://phab.mercurial-scm.org/D3088

AFFECTED FILES
  mercurial/scmutil.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, yuja
Cc: yuja, mercurial-devel

Patch

diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -1134,7 +1134,7 @@ 
 
             k = encoding.tolocal(k)
             try:
-                data[repo[k].rev()] = encoding.tolocal(v)
+                data[revsingle(repo, k).rev()] = encoding.tolocal(v)
             except (error.LookupError, error.RepoLookupError):
                 pass # we ignore data for nodes that don't exist locally
     finally: