Init branch support cancellation

squash! Init branch support cancellation
FindMergeChangesetParent support CancellationToken