Better HN
topnewbestaskshowjobs
Log inSign up

quark12

9 karma · joined Nov 15, 2022 (4y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

https://sapling-scm.com/docs/internals/internal-difference-h... briefly explains the Git support. Currently we keep trees and blobs in a git bare repo unchanged, but convert the commit graph to our format so we can run our own graph algorithms. In the future we might store trees and blobs differently too.

comment 4y ago · link · parent

Yes. Right now we are adding more documents about how internal components (like the commit graph) work. We hope others in the industry find them useful. Feel free to ask questions in GitHub too.

comment 4y ago · link · parent

You can also do `sl/hg log -Gr a21ccf+release_1.9`. The graph tells you the relation of selected commits. Last time I checked, git does not have the same --graph rendering yet - it only considers direct parents not ancestors.