Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6054461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:09:20+00:00 2026-05-23T08:09:20+00:00

I have a process that updates the contents of a folder by deleting the

  • 0

I have a process that updates the contents of a folder by deleting the entire folder, re-creating it, and then populating files. Unfortunately that deletes the .svn folders which makes svn unhappy. What process can I use to delete a folder, write some files, and then tell svn to reconsile the differences (i.e. recognize that I’ve created some files with the same name but updated contents, some files no longer exist, new files have been added)? The solution should work for subfolders as well, since those will be delete/recreated in the process.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:09:20+00:00Added an answer on May 23, 2026 at 8:09 am

    A bit confused what you’re looking for. If you have a process that creates the folders and data, why store the folders and subfolders in Subversion? Subversion should be only for source and not generated content.

    I wish there was a bit more explanation what you’re doing and why.

    We had someone use Robohelp to maintain the HTML files we had in our source code. Robohelp generates HTML files from MS-Word documents. When it does a regeneration, file names, sizes, and directories could change even with the most minor of changes. The old method was deleting everything and readding it back in. That was difficult for the tech writers to do and generated thousands of changes in a single Subversion revision.

    In the end, we stored the Word doc files in Subversion. The generated HTML was removed. However, we did store a single ZIP containing all the HTML (since our Unix build process couldn’t generate the HTML from Robohelp). When a new set of help files were regenerated, the Tech writers simply zipped it up and replaced the zip file in our Subversion repository. No more massive adds and deletes.

    Are you attempting to synchronize work someone is doing out of Subversion into Subversion? For example, someone downloads the files via svn export, does their work, and it’s your job to check in all the changes. In that case, you should write a little script to go through and compare everything in directory #1 to everything in directory #2 and make the changes that way. I believe we did this in three passes. First time, deleting everything in Directory #1 that’s not in Directory #2, then adding everything in Directory #2 that’s not in Directory #1. And, finally doing a comparison of all files in directory #1 and directory #2 and committing these changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a process that updates hundreds of rows in a grid via jQuery.
We have a nightly process that updates applications on a user's pc, and that
I have a very complex process that involves downloading a number of files from
I have a process that gets a files from a directory and puts them
I have Process objects that are monitored from two different views. A Windows.Forms.ListView (actually
I have a process that interfaces with a library that launches another process. Occasionally
I have a process that spawns a helper process. Sometimes I need to debug
I have a process that currently runs in a Delphi application that I wrote
I have a process that imports a lot of data (950k rows) using inserts
I have a process that contains C# code, C++\CLI code and native c++ code.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.