AnkhSVN本地新版本

时间:2011-02-08 18:08:41

标签: visual-studio visual-studio-2008 ankhsvn

我开始从事一个项目而没有为SVN设置它。我正在使用Visual Studio 2008和AnkhSVN。现在我在本地有新的代码副本,而SVN有较旧的副本。我该如何查看这些文件并提交它们?

由于

1 个答案:

答案 0 :(得分:0)

最简单的可能是命令行客户端(或具有类似选项的TortoiseSvn)。您正在寻找带有强制标志的结帐:

svn co --force <URL> <WC>

来自帮助:

If --force is used, unversioned obstructing paths in the working
copy destination do not automatically cause the check out to fail.
If the obstructing path is the same type (file or directory) as the
corresponding path in the repository it becomes versioned but its
contents are left 'as-is' in the working copy.  This means that an
obstructing directory's unversioned children may also obstruct and
become versioned.  For files, any content differences between the
obstruction and the repository are treated like a local modification
to the working copy.  All properties from the repository are applied
to the obstructing path.
相关问题