hgext/phabricator.py
changeset 41365 876494fd967d
parent 41164 43fd1947301d
child 41532 bd3f03d8cc9f
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
   275     with that tag, and the number after "D" (ex. 1234) will be returned.
   275     with that tag, and the number after "D" (ex. 1234) will be returned.
   276 
   276 
   277     The ``old node``, if not None, is guaranteed to be the last diff of
   277     The ``old node``, if not None, is guaranteed to be the last diff of
   278     corresponding Differential Revision, and exist in the repo.
   278     corresponding Differential Revision, and exist in the repo.
   279     """
   279     """
   280     url, token = readurltoken(repo)
       
   281     unfi = repo.unfiltered()
   280     unfi = repo.unfiltered()
   282     nodemap = unfi.changelog.nodemap
   281     nodemap = unfi.changelog.nodemap
   283 
   282 
   284     result = {} # {node: (oldnode?, lastdiff?, drev)}
   283     result = {} # {node: (oldnode?, lastdiff?, drev)}
   285     toconfirm = {} # {node: (force, {precnode}, drev)}
   284     toconfirm = {} # {node: (force, {precnode}, drev)}