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 674615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:43:36+00:00 2026-05-14T00:43:36+00:00

I have checked out now a local working copy of a codebase that lives

  • 0

I have checked out now a local working copy of a codebase that lives in an svn repo. It’s a big Java project that I use Eclipse to develop in. Eclipse of course builds everything on the fly, in it’s own way with all the binaries ending up in [project root]/bin. That’s perfectly fine with me, for development, but when the build runs on the build server, it looks quite a lot different (maven build, binaries end up in a different directory structure, etc).

Sometimes I need to recreate the build server environment on my local development system to debug the build or what have you, so I usually end up downloading an entirely new working copy into a new workspace and running the build from there (prevents cluttering my development workspace with all the build artifacts and dirtying up the working copy). Of course sometimes I’m interested in running the full build on code that I don’t want to check in yet, so I will manually copy over the “development” workspace onto the “build” workspace. Besides taking a lot of extra time copying a lot of files that I don’t actually need (just overlaying the new over the old), this also screws up my svn metadata, meaning that I can’t check in changes from that “build workspace” working copy, and I often end up having to re-download the code to get it back into a known state.

So I’m thinking I make my svn working copy a local git repo, then “check out” the in-development code from the svn working copy/git master, into the local build workspace. Then I can build, revert my changes, have all the advantages of a version controlled working copy in the build workspace. Then if I need to make changes to the build, push those back into the git master (which is also a svn working copy), then check them into the main svn repo.

|-------------|
|main svn repo| <------- |---------------------|
|-------------|          |svn working copy     | <-------  |--------------------|
                         | (svn dev workspace/ |           | non-svn-versioned  |
                         |   git master)       |           | build workspace    |
                         |---------------------|           | (git working copy) |
                                                           |--------------------|

Just switching everything to git would obviously be better, but, big company, too many people using svn, too costly to change everything, etc. We’re stuck with svn as the main repo for now.

BTW, I know there is a maven plugin for Eclipse and everything, I’m mainly interested to know if there is a way to maintain a workspace that is both a git working copy and an svn working copy. Actually any distributed version control system would probably work (hg possibly?). Advice? How does everybody else handle this situation of having to manage both a “development” build process and a “production” build 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-14T00:43:36+00:00Added an answer on May 14, 2026 at 12:43 am

    The idea of cloning a git repo (copy of a svn repo) into another git repo can work.
    Since Git1.7.0, you can associate this approach with sparse checkout if you do not want to checkout everything from your first Git repo.

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

Sidebar

Related Questions

I have a working copy of my project, checked out using Subversion 1.5.1. When
I have a folder checked out using TortoiseSVN. If I copy a newer version
Can these two SVN clients collaborate? I have my projects checked out with Tortoise,
I have multiple branches of a project checked out, each under their own directory
I have checked out a source from my svn into my Linux PC. In
I'd sooner not just permanently have a bunch of files checked out to me,
I have checked in a huge Eclipse project from my desktop computer to the
I have a xml blob that's checked against a schema in sql 2005. My
I've recently started a Rails 3 project which I checked out from github. The
I have checked with the wikipedia article , and it seems like it is

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.