mercurial/help/internals/wireprotocol.txt
changeset 37538 89fed81bbb6c
parent 37537 be5d4749edc0
child 37554 301a1d2e8016
equal deleted inserted replaced
37537:be5d4749edc0 37538:89fed81bbb6c
  1776 
  1776 
  1777 The response is a map with bytestring keys and values.
  1777 The response is a map with bytestring keys and values.
  1778 
  1778 
  1779 TODO consider using binary to represent nodes in certain pushkey namespaces.
  1779 TODO consider using binary to represent nodes in certain pushkey namespaces.
  1780 
  1780 
       
  1781 lookup
       
  1782 ------
       
  1783 
       
  1784 Try to resolve a value to a changeset revision.
       
  1785 
       
  1786 Unlike ``known`` which operates on changeset nodes, lookup operates on
       
  1787 node fragments and other names that a user may use.
       
  1788 
       
  1789 The command receives the following arguments:
       
  1790 
       
  1791 key
       
  1792    (bytestring) Value to try to resolve.
       
  1793 
       
  1794 On success, returns a bytestring containing the resolved node.
       
  1795 
  1781 pushkey
  1796 pushkey
  1782 -------
  1797 -------
  1783 
  1798 
  1784 Set a value using the ``pushkey`` protocol.
  1799 Set a value using the ``pushkey`` protocol.
  1785 
  1800