문제

Is there an SVN command that can display the latest revison of a filename and also display its contents? Something like a command line: SVN Log config.file | Cat config.file

Windows or Linux command? The person doing the display will not be the person checking out the code. Read only

도움이 되었습니까?

해결책

There is no single command which will do both. Retrieving revision history information (svn log) and versioned item contents (svn cat, svn co, svn export) are separate and distinct actions.

You could use svn log --limit 1 file; svn cat file; in either bash (Linux) or PowerShell (Windows), but the result would be the output of two unrelated commands.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top