atlassian-sourcetree - 使用 TortoiseMerge 进行外部合并后停止 SourceTree 2.2 崩溃

标签 atlassian-sourcetree

自从我最近更新了 SourceTree 版本 2.2 以来,它在我完成的每次外部合并后都崩溃了。我选择的工具是 TortoiseMerge。

有没有人有同样的行为,如果有,知道如何解决这个问题?

最佳答案

我也遇到了同样的问题。在进行 KDiff 合并时,在保存合并文件的那一刻:SourceTree 停止工作。但是文件已正确保存,但我每次都必须重新启动 SourceTree。

自从我更新到版本 1.8.2 后,这是附加的。

这是 Window 日志跟踪:

SourceTree.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.NullReferenceException
Pile :
   à SourceTree.ViewModel.VisualMergeWindowViewModel.MergeProcessOnCompleted(System.Object, System.EventArgs)
   à SourceTree.Utils.RepoProcess.OnCompleted()
   à SourceTree.Utils.RepoProcess.DoCompletionFunctions()
   à System.Diagnostics.Process.RaiseOnExited()
   à System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   à System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)

我需要一个解决方案来继续使用 SourceTree UI 进行启动合并过程。帮助!

我可能有一个临时解决方案:

启动外部合并工具:

  1. 使用同一工具保存合并后的文件
  2. 不要关闭外部合并工具,而是返回 SourceTree UI 并单击“Abord”:它将关闭该工具而不会崩溃。
  3. 文件尚未保存,右键单击它并选择“标记为已解决”
  4. 删除所有因之前的“中止”操作而创建的备份文件)

希望有所帮助!对我有用

关于atlassian-sourcetree - 使用 TortoiseMerge 进行外部合并后停止 SourceTree 2.2 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35486417/

相关文章:

git - 如何在 Sourcetree 中进行 Git Rebase?

atlassian-sourcetree - GitKraken 和 SourceTree,代码隐私?

git - 图中的分支颜色

git - 如何交互式(可视化)解决 SourceTree/git 中的冲突

git - 需要从 GitLab 中安全地删除损坏的文件

security - SourceTree 更新后,安全警告要求我续订 Mercurial

git - 为什么使用 SourceTree 的 WSL2 上的 Git 对我来说这么慢?

git - 暂时恢复到之前的提交,进行更改,保留更改并返回到最新的提交?

Git Flow 发布完成 - 权限被拒绝