In Subversion, I know when a file was added, what is the fastest way to find out when it was deleted?

OK, so suppose I know I added the file β€œfoo.txt” to my Subversion repository in edition 500.

So, I can do svn log -v http://svnrepo/path/ foo.txt@500 and display all files added at the same time.

What is the fastest way to find when a file was deleted after it was added?

I tried svn log -r500:HEAD -v http://svnrepo/path/ foo.txt@500 , but it gives me a "path not found" - perhaps obviously because the file "foo.txt" does not exist in "HEAD "

I can try the binary search algorithm moving forward through revisions (and this will certainly be faster than typing this question), but is there a better way?

+4
source share
1 answer

Try to run

 svn log -v http://svnrepo/path/ 

This should give you (among other things) a revision when the files were deleted in this directory. "grep" can also be useful if the output is large.

+2
source

Source: https://habr.com/ru/post/1308307/


All Articles