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

  • SEARCH
  • Home
  • 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 1030995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:51:32+00:00 2026-05-16T13:51:32+00:00

I work in an environment where we use SVN for our source repositories. For

  • 0

I work in an environment where we use SVN for our source repositories. For example my code repository is as below:

//svn
 -folder1
   -file1
   -file2
-folder3
   -file4
   -file5

but when these get deployed to production / testing server => the directory structure is very different and only files need to be pushed => in relevant folder of the target server

ex:

 //d/src/datastream
     -file1
     -file2
     -file3
     -file4

target server doesn’t have svn installed. Right now its been done as manual process by copying files across.
Now its becoming bit hard to track down the version of the target files copied, as this being done by different developers.

How could this deployment process be automated by pushing files into relevant target folder and keep track of svn versions being pushed.

Thanks

  • 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-16T13:51:33+00:00Added an answer on May 16, 2026 at 1:51 pm

    You may be able to write a script to do all of this for you.

    The script will check the repository revision of your working copy and record this (along with a timestamp) in a log file on the server. Then, the script will copy over each file to the target directory. Every time a new version gets “pushed” to the server, the log file will have a new entry indicating the time that the server was updated and the revision that it was updated with.

    You should be able to write this script in whatever language you choose. Having the command-line Subversion tools installed may make this easier.

    You can also include a comment block in the header of your files, and include the values $Rev$ and $LastChangedDate$. When a file gets committed, svn will update these values so that when you check out the file, it will show the revision and date on which it was last changed.

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

Sidebar

Related Questions

Does your work environment use Harvest SCM? I've used this now at two different
We primarily use an ASP.NET environment at work. Right now I'm building an application
I work in a Microsoft environment, so I can use my C# hammer on
In my work environment, Visual Studio currently crashes every time I start our main
In your enterprise work environment, how are engineers held accountable for performing code inspections
Our company does work environment surveys, and these surveys are filled in online. All
I'm having to work within an environment in which I cannot use additional frameworks.
Our current development environment at work is Windows XP pro. It is a fine
Environment: Java (Java EE), Tomcat container At work the vast majority of our apps
In our development environment we use Windows, Mac, and Linux. I am having trouble

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.