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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:04:21+00:00 2026-05-26T04:04:21+00:00

I have one single repository. Suppose I have LibraryX which I share across projects.

  • 0

I have one single repository.

Suppose I have LibraryX which I share across projects.

Suppose ApplicationA (among others) uses LibraryX and references it as an external.

While developing ApplicationA, I am also possibly making modifications to LibraryX.

Suppose changes have been made to both ApplicationA and to LibraryX, and now I am doing a release.

Please tell me if you agree/disagree with the following process, and/or tell me what you would do to improve it:

  • create a tag of LibraryX
  • branch ApplicationA
  • change externals on the branched ApplicationA to point to the tagged LibraryX and perhaps to the specific revision (in case someone in the future commits to the tag accidentally)
  • create a tag of the branched ApplicationA
  • delete the branched ApplicationA

Sound reasonable? Got better ideas? Thoughts?

  • 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-26T04:04:21+00:00Added an answer on May 26, 2026 at 4:04 am

    I do the following:

    • I always reference the library in a specific revision. If the library changes and I want the change in my application then I update the externals definition.
    • On release I create a tag of the application. I do not need to take extra steps, since a specific revision of the library is referenced.

    Some additional comments:

    • Sometimes I do not references a specific version of the library (because I am too lazy), but I am aware that these revisions will not be usable in the future. This is a decision you can make if you are aware of it. However, before I create a tag, I always freeze the library reference.
    • Sometimes I create a branch instead of a tag, so that I can fix some bugs and at the same time continue to work on the next release. Eventually I create a tag for this branch and delete the branch. (Maybe I create more then one tag, but the branch always gets deleted at the end.)
    • I delete branches because I use branches only as short-lived entities: feature branches or release branches to stabilize a release. There is no need for me to keep the branch around since tags are the versions I am interested in.
    • If I need to fix a bug in a tag then I create a branch first. Fix the bug and create a new tag (and delete the branch).
    • The same applies if the bug needs to be fixed in the library (though a bit more complicated): In the branch you either update to the latest library (if possible) or you create a branch of the referenced revision of the library. Then you change the external to point to this branch, fix the bug in the library, freeze the externals definition to the latest revision of the library branch and create a tag for the application . I usually do not bother to create a tag for the library, but it would also be possible. I do however delete the library branch: If it is ever needed again you can create a new branch based on the last revision of the deleted library branch.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should we have one single repository for all the company, which contains many development
Any one have an idea to share running multiple tomcats on single machine with
I have a single svn repository containing multiple projects. Now I am trying to
I have a single svn repository for all my projects. In svn I also
Let's suppose we have a subversion repository which looks like /original/0.1 /original/0.2 /variantA/trunk /variantA/branches/who/branch_for_xxx
In our mercurial project configuration we have 3 branches in a single repository. One
i have one single class for margin and i am using this class to
I have merged multiple jpeg files into one single .bin file. ..... ......... while(true){
I have one master report with sub report. in master report display single value
I have two different modules that need access to a single file (One will

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.