sapling/eden/scm/edenscm
Mark Thomas 7f71cd1cda commands: pass date-based rev as a hex hash
Summary:
When using the `--date` parameter to `hg update` or `hg revert`,
`cmdutil.finddate` returns the binary node for the target commit.  Passing this
to `scmutil.revsingle` sometimes works, however it's unreliable, as if the
binary node happens to look vaguely like a revset, we will attempt to parse it,
and perhaps fail.

Resolve the ambiguity by converting the binary node to hex.

Reviewed By: quark-zju

Differential Revision: D19902595

fbshipit-source-id: 5eb7b9b029e292a02ccc00f5a465ab7807cd56d5
2020-02-14 09:39:55 -08:00
..
hgdemandimport demandimport: re-enable 2020-02-05 11:23:29 -08:00
hgext clienttelemetry: report multiple server_hostnames 2020-02-13 00:48:25 -08:00
mercurial commands: pass date-based rev as a hex hash 2020-02-14 09:39:55 -08:00
__init__.py demandimport: re-enable 2020-02-05 11:23:29 -08:00
__main__.py edenscm: add a main module 2020-01-30 18:09:14 -08:00
traceimport.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00