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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:05:40+00:00 2026-05-28T03:05:40+00:00

So when it comes to re-writing a whole system do you prefer to make

  • 0

So when it comes to re-writing a whole system do you prefer to make a new repo for the re-write or just a new folder in the existing repo?

The reason I ask is the new folder method requires some for though for the directory structure as you would need to start with some thing like.

/root
/root/v1/

Then add

/root/v2
  • 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-28T03:05:41+00:00Added an answer on May 28, 2026 at 3:05 am

    You forgot the third option:

    • rewrite the software in-place, without creating a new folder.

    You use version control exactly so that you don’t need to create folders per version.

    To expand on the above a bit: if new system is radically different from the old system — a complete rewrite like you say — then I would probably use a new repository. If the rewrite is more incremental, then I would keep the existing repository.

    Add a tag when you start the re-write or do the re-write on a dedicated branch, that way you can keep track of where the old code ends and where the new code starts. With a distributed version control system like Mercurial or Git, you could just create another clone on your server for the re-write.

    Branches are a very powerful tool. I’ve written a tutorial for Mercurial about branches that you might find interesting. There you see Alice and Bob working in parallel on several branches. In your case, you would still be able to add stuff to the old code while working on the new code.

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

Sidebar

Related Questions

When it comes to writing custom MySQL database-driven PHP session management for a VERY
I'm writing a JSP that sometimes needs to format a Java Date that comes
Hey folks - I'm writing a pretty simple iPhone application. The data comes from
I need some help writing an http client. The trouble comes when I try
I have heard that MbUnit comes with pretty nice test decorators which allow writing
I'm writing a webapp using Zend framework and a homebrew widget system. Every widget
I have come across an annoying problem while writing some PHP4 code. I renamed
I have played for a while writing XPath but am unable to come up
I was writing some codes in linux using c. When tried to compiled, I
I am writing xmlrpc codes to communicate between Apache XML-RPC client and a Python

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.