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 (
IF NOT EXIST %%R\NUL (
                @echo %%R
                svn log -r 1:HEAD -l 1 %%R  -q
                )

)

Comments

Post a Comment

Popular posts from this blog

Log4j multiple WAR files in single EAR configuration

Java NIO2 - Watching a directory for changes. FileWatcherService.

Ubuntu / kubuntu - Laptop key board cursor jumping issue