开发者

Subversion option to display results of update without actually updating

The perforce command:

p4 sync -n

will display the results of the sync (update in subversion) without actually performing the sync.

I've been looking in the svn help pages and googling around for a t开发者_开发问答ag/command in subversion that will do the same but have yet to find one. I was thinking there may be a tag for svn update that would accomplish this. Is there one?


To see what an update will change, enter:

svn status -u 

This is like svn status but also displays files which would be updated.

You can then see individual differences by running svn status/svn diff on individual files.


Are you just looking to see changes? I'd look at the diff command. Example here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜