开发者

How to make svn diff show remote changes?

开发者 https://www.devze.com 2023-04-03 21:53 出处:网络
For Example, when I type svn st --show-updates I get *1648648project/file1 so I know that file1 has changed.

For Example, when I type

svn st --show-updates 

I get

    *   1648648   project/file1

so I know that file1 has changed.

I don't want to update just 开发者_StackOverflow中文版find out what has changed. When I type

svn diff project/file1

it shows nothing because the file has no local changes.

How to make svn diff show remote changes?


simply ask svn to make the diff with the HEAD revision :

svn diff -r HEAD project/file1


Most correct version of diff between unmodified WC and updated repo is expanded answer of Cédric

svn diff -r BASE -r HEAD project/file1

0

精彩评论

暂无评论...
验证码 换一张
取 消