Reputation: 33
I'm trying to use svn blame to get a same result of TortoiseSVN blame, but I found they are very difference, such as revision, author, code... they are not same!
I know TortoiseSVN is a GUI software, so I want to know what happened after I clicked "OK" on TortoiseSVN blame GUI so that it's very difference with svn blame command in commandline.
This is my SVN command:
svn blame "https://file-on-svn-repo" -r 1:HEAD
Here is my TortoiseSVN options:
I promise the files both svn blame and TortoiseSVN blame are same.
Can someone tell me why they are difference or how can I make a same output like TortoiseSVN? I want author, revision and code of svn blame
output or some other command output be same with TortoiseSVN blame, if no command could implement it directly, please tell me the logic that how can I implement it.
I found a question on Stackoverflow but the answers are not what I want: What happens when I click "Blame Differences" in TortoiseSVN log?
I used svn blame "http://file-on-repo"
first, but I found it's diffrence with TortoiseSVN, so I changed it to svn blame "http://file-on-repo" -r 1:HEAD
, but it's still different.I also chose "Use text viewer to view blames", but the text in notepad is still not same with svn blame output.
Upvotes: 1
Views: 243
Reputation: 33
Stefan is right. Finally, I solved this problem using svn blame -x -w "https://file-on-svn-repo -r 1:HEAD"
Upvotes: 1
Reputation: 43575
Since you activated the options
you have to do that with the svn blame command as well:
svn blame "https://file-on-svn-repo" -r 1:HEAD -x -w -x --ignore-eol-style
Upvotes: 4