About a month ago, CodePlex have upgraded their TFS servers to to TFS 2010.

While this transition was supposed to be invisible to users who connect using the SVN interface, it wasn’t.

The Problem

This is what I got while trying to update a project which resides on CodePlex, using AnkhSVN plug-in.

Or in a search-engine friendly way:

SharpSvn.SvnException: Repository UUID 'XXX' doesn't match expected UUID 'YYY' 
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) 
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets) 
   at SharpSvn.SvnClient.Switch(String path, SvnUriTarget target, SvnSwitchArgs args, SvnUpdateResult& result) 
   at SharpSvn.SvnClient.Switch(String path, SvnUriTarget target, SvnSwitchArgs args) 
   at Ankh.Commands.SwitchItemCommand.<>c__DisplayClass7.<OnExecute>b__0(Object sender, ProgressWorkerArgs a) 
   at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)

The Solution

We will use Visual Studio excellent “Find and Replace” in files. 
Just follow these steps:

  1. BACKUP your local project folder
  2. Open Visual Studio
  3. Select Edit –> Find and Replace –> Replace in Files (or press Ctrl + Shift + h)
  4. In the “Find what” field write the expected UUID (you can get it from the previous error message)
  5. In the “Replace with” field write the new UUID
  6. In the “Look in” field write the name of the local folder where your project resides
  7. Expand the “Find options” and write the word “entries” in the field named “Look at these file types”
  8. Click “Replace All”

Following is an image that summarize these changes for my project:

When you get the following warnings, just select Overwrite (Alt + o).

And we’re done. Your project is officially fixed.

That’s it for now,

原链接:http://blogs.microsoft.co.il/blogs/arik/archive/2010/08/06/fix-codeplex-error-repository-uuid-xxx-doesn-t-match-expected-uuid-yyy.aspx

svn:Repository UUID 'XXX' doesn't match expected UUID 'YYY'的更多相关文章

  1. org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [41] did not match expected type [java.lang.Integer (n/a)];

    题记:以前记录过一些自己遇到的BUG,这个行为,让我一看报错的提示信息就能定位到问题的所在,后来记得比较多了,好多是重复性的再加上比较忙就没有详细的记录了,今天的工作量比较小,就顺便记录一下,以便以后 ...

  2. ios svn repository

    xcode默认自带Git和svn,首先讲下xcode4.6.3下配置svn: 1.检測你的mac中是否安装了svn: (1) 打开终端,输入 svn --version 假设出现下图信息,则说明已经安 ...

  3. Setting SVN Repository Using TortoiseSVN + Dropbox in 5 Minutes

    SVN is a very common version control system in software development. However configuring SVN server ...

  4. [转]个人源码管理:如何在本机配置自己的SVN Repository (图解)

    本文转自:http://blog.csdn.net/wikijava/article/details/6245588 Repository 即源码的集中存放处,所有修改后提交的源码就是保存在这里,并在 ...

  5. xxx did not match any file(s) known to git

    切换分支的时候,报了标题这么个错误,error: pathspec ''xxx did not match any file(s) known to git. 看见不能切换分支,我首先 git sta ...

  6. SVN: repository browser 库浏览器

    SVN: repository browser  库浏览器 -----如果不想全部下载,可以通过repository browser  库浏览器 从库中选择要下载的文件夹内容下载(svn针对性下载)

  7. git push 报src refspec xxx does not match any的错误

    今天在向一个新的远程分支上推送项目的时候报错: 远程分支branch_new是其他人建的,我在自己本地修改后把自己分支的修改推送到这个远程分支上. 把修改提到本地仓库: git add ./ git ...

  8. 生成Base58格式的UUID(Hibernate Base64格式的UUID续)

    Base58简介 Base58采用的字符集合为“123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ”,从这不难看出,Base58是纯数 ...

  9. 获得32位UUID字符串和指定数目的UUID

    在common包中创建类文件UUIDUtils.java package sinosoft.bjredcross.common; import java.util.UUID; public class ...

随机推荐

  1. 基于JQuery的渐隐渐现轮播

    <div id="ads"> <div> <!--轮播图片--> <ul> <li><a href="# ...

  2. PLSQL执行sql语句输出的中文是???之解决方法和步骤

    方法/步骤 1 登陆plsql,执行sql语句,输出的中文标题显示成问号????:条件包含中文,则无数据输出 步骤阅读 2 输入sql语句select * from V$NLS_PARAMETERS查 ...

  3. MySQL之学生名次问题

    --对输入的数据进行约束create table t(studentID char(10), [name] varchar(8), startDate char(10) Check (isdate(s ...

  4. php返回json数据函数例子

    json_encode()函数用法. echo json_encode(array('a'=>'bbbb','c'=>'ddddd'); 这样就会生成一个标准的json格式的数据 代码如下 ...

  5. bzoj 1006: [HNOI2008]神奇的国度

    这是个标准的弦图,但如果不知道弦图就惨了=_= 趁着这个机会了解了一下弦图,主要就是完美消除序列,求出了这个就可以根据序列进行贪心染色. 貌似这个序列很神,但是具体应用不了解…… 这道题为什么可以这么 ...

  6. 自定义textbox加入左右晃动效果

    应用开发过程中经常会要求用户在textbox进行输入.例如:登陆,发布. 而一般没进行输入的时候我们都会简单的进行弹窗提示用户输入. 前阵子ios的同学搞了一个左右晃动的效果,觉得还不错,于是也搞了个 ...

  7. 运行maven报错:经过检查是因为maven不兼容jdk1.6,重新安装1.7解决

    cmd mvn -v报错: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apach ...

  8. brewhome - 第三方包管理工具

    最近对移动开发感兴趣,于是乎有了相当正式的理由购买了一台macbook pro 13. 我虽然以前没有使用过mac os,但是上手却很快,这大概跟我最近几年一直在使用linux系统有关吧.我平时上班时 ...

  9. Zedboard VmodCAM PIN Constraint

    自己画了一块FMC-VHDCI四层板,外接VmodCAM,接口定义如下 #CAMA PIN CONSTRACT NET "CAMA_D_I[7]" LOC = T17 | IOST ...

  10. mount.nfs: access denied by server while mounting localhost:/home/xuwq/minilinux/system

    在执行命令如下: mount -t nfs localhost:/home/xuwq/minilinux/system /mnt 出现的错误: mount.nfs: access denied by ...