D3175: commands: implement `export --format=X` with support for CBOR

2018-04-12 Thread yuja (Yuya Nishihara)
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:

D3175: commands: implement `export --format=X` with support for CBOR

2018-04-09 Thread durin42 (Augie Fackler)
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

D3175: commands: implement `export --format=X` with support for CBOR

2018-04-06 Thread indygreg (Gregory Szorc)
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:

D3175: commands: implement `export --format=X` with support for CBOR

2018-04-06 Thread indygreg (Gregory Szorc)
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