0

I have just commit the the code and I forgot to save revision log and file list I have committed. can anybody provide the command so I can get full information of last log that is.

  1. modified files list
  2. revision number
  3. commit message

I have tried below command but i can't see the modified file list

svn log -r1:HEAD

------------------------------------------------------------------------
revision | my id | 2016-03-25 03:18:38 -0500 (Fri, 25 Mar 2016) | 1 line

my message
------------------------------------------------------------------------
0

2 Answers 2

4

After commit the code, I executed below commands and get as expected result

svn update
svn log --limit 1 -v

here svn update command will update your local repository and svn log --limit 1 will show your last commit history and the option -v will the file list with you have added, modified or deleted.

Sign up to request clarification or add additional context in comments.

Comments

2

The revision number and commit message is already in the default output of svn log, and included in the example in your question too. So the only missing is the list of modified files.

Add the -v parameter:

svn log -v

That way the output will include the list of changed paths, prefixed with the action on the path, for example A for added, M for modified, D for deleted.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.