svn - How to interact with deleted file -


i want interact file deleted svn repository recently, when try "not under version control" warning.

what want svn cat original version of out file inspecting/using, cannot svn log either, gives same warning.

if svn log -v parent directory of old file, can see revision file added , 1 deleted. revision in file added (the 1 i'm interested in) r1678.

if svn log -r 1678 -v path/file@1678 "not under version control" warning.

if svn cat -r 1678 path/file@1678 "not under version control" warning.

how file?

in case matters, "delete" move different directory, i'm not sure how moved. if svn log newpath/file history not include original location of file, assumed moved in manner did not preserve history (ie: not same svn node). i'm not sure. if svn log on parent couple levels removed includes both old , new directories, following:

r1804 | ... m newpath/file  r1755 | ... m newpath/file  r1700 | ... d oldpath/file newpath/file  r1678 | ... oldpath/file 

the root need here diff original version of file when first added, cannot since history broken @ file move. if there easy way that, appreciated, not technically specific question asking.

so how interact deleted file?

the deleted file no longer in working copy, need access revision repository.

it looks have identified revisions , pathnames interested in. use:

svn info 

from within working copy, find relative url. ^/trunk/newpath (depending on directory invoke on).

the deleted file can accessed using (something like):

svn cat -r 1700 ^/trunk/newpath/file 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -