我正在尝试生成SVN中特定文件夹的两个修订版之间的差异。然而,一个子目录有很多杂乱和不相关的更改,我不希望在diff中包含这些更改。你知道我怎样才能做到这一点吗?
我想也许我可以试试这样的东西?
C:\>svn diff -r 58:64 `svn ls http://svn-server/svn/my-app/branches/prototype | grep -v 'doc/'`不过,这似乎不起作用:
svn: E155007: 'C:\cygwin\home\myusername\.gitignore' is not a working copy.gitignore是svn ls http://svn-server/svn/my-app/branches/prototype | grep -v 'doc/'返回的文件之一
C:\>svn ls http://svn-server/svn/my-app/branches/prototype | grep -v 'doc/'
.gitignore
.project
.rspec
.rvmrc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
app/
config/
config.ru
db/
features/
lib/
log/
public/
script/
spec/
test/
vendor/发布于 2012-10-27 05:14:50
我建议您通过CD进入文件夹的本地工作副本,然后重试该命令。那么"svn diff“应该能够理解"svn ls”输出的本地路径。
https://stackoverflow.com/questions/13094148
复制相似问题