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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:43:51+00:00 2026-05-26T22:43:51+00:00

When I checkout a project from existing repository, three folders created: branches , tags

  • 0

When I checkout a project from existing repository, three folders created: branches, tags and trunk.

I put my source code in trunk directory:

trunk
  |--include
  |--src
  |--lib
  |--bin
  |--build
  |--doc

But it seems I when I finish a version of the project, I should put a copy of it in tags directory (eg tags>my_project-1.0.0).

Does tags directory duplicates my source code in SVN? or I do something wrong?

I mean I should save all previous source codes in tag directory or I should save LATEST version in trunk directory without any duplication in other folders?

  • 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-26T22:43:52+00:00Added an answer on May 26, 2026 at 10:43 pm

    It won’t duplicate the storage, no. SVN effectively stores its data as a versioned file system tree plus a bucket of file data, and trunk/include/abc.h will point to the same file data as tags/myTag/include/abc.h.

    There will now be two paths to access the same copy of the code, yes, but the tags version will be fixed at the revision where you made the copy. As you continue to commit to trunk/include/abc.h, tags/myTag/include/abc.h will remain the same.

    That said, you can always reference a version of code on trunk by rembering the revision number: you could just write down somewhere that release-1.0.0 = trunk@12345. That said, tags are an easier way of remembering this and will contain metadata linking them back to the particular trunk revision you copied them from.

    Your latest edit: I’m not 100% sure what you mean by “all previous or latest”, but you should save the version you actually release. You might also want to create a stable branch from your release so that you can make fix-releases from the same version of code rather than trunk. There’s no (or very little) storage overhead for tagging absolutely everything on trunk. If you mean can you access the commit log for files starting at the tag then yes, you can – the tag effectively contains all history to that point.


    D’oh sorry, only just spotted this:

    When I checkout a project from existing repository, three folders created: branches, tags and trunk.

    No – you only need to check out trunk, or the branch that you’re working on. You shouldn’t check out the whole thing, no, or you will get everything duplicated on your disk. Checking out the root of a repository is a bad idea, and there’s even an apache plugin in the subversion distribution you can install to explicitly forbid it.

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

Sidebar

Related Questions

I want that everytime someone wants to checkout the project from SVN he/she will
How can I checkout only the directory structure of a project (without any files)
I'm looking to take an existing git repository where I have some code, download
Say my SVN repository looks like: project/ trunk/ README foo/ bar.sh and I have
I've taken a checkout of a project on github from below... https://github.com/wakaleo/game-of-life/ I can
I created the project and uploaded it to codeplex from my home computer. Everything
I have followed the documentation to setup the SVN repository for existing project. I
I need to checkout and manage a project from TFS (Team Foundation Server) and
When exporting a netbeans project from an svn repository. It downloads everything in the
Currently I am hosting my open source project in Google Code. And they provide

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.