svn-scm icon indicating copy to clipboard operation
svn-scm copied to clipboard

Svn repo history diff of deleted files doesn't work

Open Yanpas opened this issue 6 years ago • 6 comments
trafficstars

  • VSCode Version:
  • OS Version:
  • Extension Version:
  • System Language:
  • SVN Version:

Issue

Steps to Reproduce

SVN Output

Paste here content of "View >> Output >> OUTPUT >> SVN"

Screenshots

Yanpas avatar Mar 04 '19 17:03 Yanpas

What would you want the diff to be against?

JohnstonCode avatar Jul 15 '19 14:07 JohnstonCode

Diff should be against revision @ when file was alive

Yanpas avatar Jul 15 '19 17:07 Yanpas

a diff needs to be two revisions so which other revision should it be against? it cant be base or head because it doesnt exsists there anymore.

JohnstonCode avatar Jul 15 '19 18:07 JohnstonCode

Nevermind i see what the issue is

JohnstonCode avatar Jul 15 '19 18:07 JohnstonCode

from poking around the issue seems to be the use of cat. Normally it uses svn cat -r 19 /test/file/blah where it needs to be svn cat ^/trunk/test/file/blah@19

JohnstonCode avatar Jul 15 '19 18:07 JohnstonCode

Yes, that was exactly how I tried to fix in a PR, but that did cause a lot of regressions and API has become clumsy. Currently I'm working at this issue

Yanpas avatar Jul 15 '19 20:07 Yanpas