Stop copying .svn directories during ePublisher operations involving svn-controlled projects and stationery

Summary

.svn directories are copied during ePublisher Pro Save As Stationery operations and during ePublisher Express operations involving the stationery (Create New Project, Synchronize with Stationoery). Please change ePublisher to ignore the .svn directories.

Detailed Description

I've got an ePublisher Pro master project under SVN control. The stationery it produces also is under SVN control, as are the various publication projects that use the stationery. When I am working within the SVN-controlled subdirectory hierarchies and I change the stationery: * During ePublisher Pro Save As Stationery operations, .svn directories are copied from the master project subdirectory hierarchy into the stationery subdirectory hierarchy. * During ePublisher Express Synchronize with Stationery operations and Create New Project from Stationery operations, .SVN directories are copied from the stationery subdirectory hierarchy into the publication project subdirectory hierarchy.

Copying the .svn directories confuses the hell out of SVN, and breaks my workflows. Please change ePublisher to ignore .svn directories during Save As Stationery and Create New Project operations.

Use Cases

  1. Put master project, stationery, and publication projects under SVN control.
  2. Open the master project and change project settings that affect the stationery.
  3. Perform a Save As Stationery operation. .svn directories are copied from the master project hierarchy into the stationery subdirectory hierarchy.
  4. Open a publication project and perform a Synchronize with Stationery operation. .svn directories are copied from the stationery subdirectory hierarchy into the publication project subdirectory hierarchy.

To work around the problem, there are two choices:

Choice 1:

  1. Put master project, stationery, and publication projects under SVN control.
  2. Open the master project and change project settings that affect the stationery.
  3. SVN Delete the stationery subdirectory hierarchy.
  4. Perform a Save As Stationery operation.
  5. Delete the .svn subdirectories from the stationery subdirectory hierarchy.
  6. Open the publication projects and perform Synchronize with Stationery operations.
  7. SVN Add the stationery subdirectory hierarchy.

Choice 2: Do the work outside of the SVN-controlled subdirectory hierarchies, copy the projects and stationery into .zip files, and commit updated .zip files to SVN.


:) :)) :( ;) :\ |) X-( B)
RogerVPI   To exclude version control files from output, follow the instructions under http://wiki.webworks.com/HelpCenter/Tips/VersionControl/ExcludeVCFilesInOutput
2010-03-18 10:53:06
LiefErickson   Choice 3: Upgrade to SVN 1.7 or later.

This becomes a non-issue with SVN 1.7 or later.
Starting with SVN 1.7, SVN uses only one .svn folder and it is at the top level. Therefore, if you put your master project, Express projects, and stationery at a second level folder (or deeper), then there will be no .svn directory for ePublisher to copy.
2011-10-24 15:15:16

Enhancements/Stop copying .svn directories during ePublisher operations involving Subversion-controlled projects and stationery. (last edited 2010-03-26 18:13:13 by LaurenLever)