---
title: "svn切换报shares no common ancestry with 解决方案"
author: "bewithme"
date: "2018-11-22T13:18:57Z"
tags: []
categories: ["开源软件"]
slug: "svn-shares-no-common-ancestry-with"
draft: false
lastmod: "2018-11-22T13:18:57Z"
id: 2434178
url: "https://bewithme.iteye.com/blog/2434178"
---

解决切换分支报“没有共同的祖先” (shares no common ancestry with) 的问题：

svn sw --ignore-ancestry svnURl

 

或是在eclipse下切换分支时选 ignore ancestry

 

![](http://dl2.iteye.com/upload/attachment/0131/0847/b34f1639-b34e-3d02-8dc6-8138d8c6b181.png)