yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.
OK, `hg export -Tjson` appears mostly working. Perhaps we can add
cborfromatter for `-Tcbor`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3175
To:
durin42 added a comment.
I'm broadly in favor. Agree it might make sense to just add generic
templating to `hg export`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3175
To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel
indygreg added a comment.
This is more of an RFC patch. My actual goal is support for ingesting CBOR
patches via `hg import`. I figured it would be easier to test that if we had
support for CBOR with `hg export`. And the reason I want CBOR support for patch
ingestion is because it is safer:
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
What's better than having to parse patch files? Not having to parse
them.
The current text-based patch file format used by `hg export` is good
for humans t