views:

427

answers:

3

For a deleted file what's the command to use to view the content of a old revision

E:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h -r 2
svn: warning: 'eel-scalable-font.h' is not under version control
A: 

I think what your looking for is:

svn cat eel-scalable-font.h@2
Brian Gianforcaro
no luckE:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h@2 svn: warning: 'eel-scalable-font.h' is not under version controlBut I can view the same in tortoise svn
DotDot
A: 

ok got it. I hve got to point to the repository rather than the working copy

E:\Downloads\eeld>svn cat file:///E:/Downloads/eel/trunk/eel/eel-scalable-font.h@2

DotDot
+7  A: 

You need to use a repository URL (not working copy), and use the @rev syntax. Something like:

svn cat https://myhost/svn/eeli/eel/eel/eel-scalable-font.h@2
Andrew Medico