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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As per your comments you’d like to see differences between the current and previous versions of an item that is not in your working copy. For that you need to know the item’s URL (e.g.
svn://[repo_root]/[path]/[item]) which I assume you do. Then you do the following:will contain (among other things) the last change revision. With that revision number R you run:
and it will give you the last commit diff.