Skip to content

TFS fail to merge branches #1486

@rerime

Description

@rerime

Error:
"Pull request cannot be automatically merged."

Further investigation shows:

UserAgent TFS JobAgent(TfsJobAgent.exe, 15.117.26714.0)

ExceptionType LibGit2Sharp.LibGit2SharpException
Message LibGit2Sharp.LibGit2SharpException: TF401022: By policy, the Git object '49c782016d305ee3d24f8a98fd549d815fc1ceb5' is too large to materialize into memory. Its size, 202478760, exceeds the threshold of 104857600 bytes. at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) at LibGit2Sharp.Core.Proxy.git_merge_commits(RepositoryHandle repo, ObjectHandle ourCommit, ObjectHandle theirCommit, GitMergeOpts opts, Boolean& earlyStop) at LibGit2Sharp.ObjectDatabase.MergeCommits(Commit ours, Commit theirs, MergeTreeOptions options) at Microsoft.TeamFoundation.Git.Server.Native.LibGit2NativeLibrary.CreateMergeWithConflictTracking(Sha1Id mergeSourceCommitId, Sha1Id mergeTargetCommitId, CommitDetails commitDetails, Boolean findRenames, Int32 renameThreshold, Int32 targetLimit, IEnumerable`1 parentIdsForMergeCommit, CustomerIntelligenceData ciData)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions