sapling/eden/scm/edenscmnative/bindings
Jun Wu 3df5fcf779 pymetalog: add handy APIs for debugshell
Summary:
This makes metalog easier to use in debugshell context. For example, to
investigate the "bookmarks" in the past, the code gets simplified from:

  roots = b.metalog.metalog.listroots(repo.svfs.join('metalog'))
  past_ml = b.metalog.metalog(repo.svfs.join('metalog'), root[10])
  past_ml.get("bookmarks")

to:

  roots = ml.roots()
  past_ml = ml.checkout(roots[10])
  past_ml.get("bookmarks")

Reviewed By: DurhamG

Differential Revision: D21162568

fbshipit-source-id: 7cc5581afe596a3d2696311a36ac11caa718428a
2020-04-27 20:04:18 -07:00
..
modules pymetalog: add handy APIs for debugshell 2020-04-27 20:04:18 -07:00
src bindings: implement diffhelpers 2020-04-09 18:25:53 -07:00
Cargo.toml bindings: implement diffhelpers 2020-04-09 18:25:53 -07:00