Re: SVN post-commit hook: shadow folders

2011-02-07 Thread Ryan Schmidt
On Feb 7, 2011, at 19:08, Schneider, Wolf wrote: > There _is_ a better way, using the svn export command (using svn cat only > works for non-binary files) "svn cat" ought to work fine for all files.

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 and

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 bett

Re: SVN post-commit hook: shadow folders

2011-02-07 Thread Ryan Schmidt
On Feb 7, 2011, at 17:33, Schneider, Wolf wrote: >> Based on the above log, %FOLDER% does not appears to be a URL to a >> Subversion repository... Is it a path to a Subversion working copy? > > Correct -- we are trying to make a copy in a network drive folder of the > file(s) being checked int

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 Vis

Re: SVN post-commit hook: shadow folders

2011-02-07 Thread Ryan Schmidt
On Feb 7, 2011, at 16:48, Schneider, Wolf wrote: > 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