SVN post-commit hook: shadow folders

2011-02-07 Thread Schneider, Wolf
We are trying to replicate the ShadowFolders feature of VSS, whereby each checked-in file that needs it gets mirrored to a reference directory. To do this, I wrote the following script, which works well except for the actual file copy - svn copy complains about the target folder not being a

RE: SVN post-commit hook: shadow folders

2011-02-07 Thread Schneider, Wolf
Ryan wrote: rem Copy the file to the indicated shadow folder svn copy -r %REVISION% %REPURL%/%FPATH% %FOLDER%/%FNAME% I am not familiar with VSS or what exactly is meant by shadow folder... A folder into which a copy of file being checked into the VSS repository is also made. In Visual

RE: SVN post-commit hook: shadow folders

2011-02-07 Thread Schneider, Wolf
I wrote: To do this, I wrote the following script, which works well except for the actual file copy - svn copy complains about the target folder not being a directory, although it most certainly is. My questions are a) what is wrong with my use of svn copy, and b) is there perhaps a better

RE: SVN post-commit hook: shadow folders

2011-02-07 Thread Schneider, Wolf
Sorry, missed the CRs: rem Extract the file to the indicated shadow folder svn export -r %REVISION% %REPURL%/%FPATH% %FOLDER%/%FNAME% --force exit /b == wolf This email and any attachments are intended only for the named recipient