| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 99954 | 2009-05-21 02:58:00 | SVN + Volume Shadow Copy | somebody (208) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 775575 | 2009-05-21 02:58:00 | I've recently set up an elaborate way to do versioning of some documents I'm working on. The set up is as follows: - TortoiseSVN to create a subversion repository, which holds the important documents - Batch script which runs SlikSVN (command line) to automatically do a Commit of changes every hour (in the background) The problem I'm running in to is that if the file I'm working on is open, then the commit will fail because the SVN client cannot "open" the file, since it is in use. Is there a way to use volume shadow copy (or something similar), so that even if I'm working on the file, it will commit the last saved state? |
somebody (208) | ||
| 775576 | 2009-05-21 03:51:00 | You could try this: Copy the file first using this script (and a tool from the VSS SDK), detailed here: blogs.msdn.com Then run the svn commit on the copied file. |
dyewitness (9398) | ||
| 1 | |||||