Command to get svn diff of current and previous revision number

前端 未结 2 1306
挽巷
挽巷 2021-01-30 12:41

How can I get diff in file content of current and previous revision number by command line?

And how can I get previous revision number?

2条回答
  •  日久生厌
    2021-01-30 13:21

    svn diff -r HEAD if you want to get the difference between your working copy and the last committed revision.

    svn diff -r PREV:COMMITTED if you want to see what the last commit did.

    You should take look at Revision Keywords.

    svn info will give you (among other things) the last change revision for the item.

提交回复
热议问题