SVN File Creation Date

SVN Find File creation date.

@echo off 
REM Thi batch files iterates over svn to print first verison of files
REM that is exactly when a file is added into svn

set file=%1

if [%file%] == [] (
  echo Usage: "%0 <file>"
  exit /b

rem first revision as full text
for /F "tokens=1" %%R in ('"svn ls -R %file%"') do (
                @echo %%R
                svn log -r 1:HEAD -l 1 %%R  -q



Post a Comment

Popular posts from this blog

Log4j multiple WAR files in single EAR configuration

Ubuntu / kubuntu - Laptop key board cursor jumping issue

Java NIO2 - Watching a directory for changes. FileWatcherService.