in Education by
I am relatively new to bazaar (primarily used cvs, then subversion, and at my current job we're using SourceUnsafe). My current development environment is structured like this: \dev (shared repository) \trunk \project1 (branch) \project2 (branch) \branches \proj1-bugfix123 (branch of \trunk\project1) \proj1-featureA (branch of \trunk\project1) Now, if I decide that certain aspects of project1 would be better suited as a library (or assembly, since it is a c# project) rather than classes inside the project, what would be the best approach for structuring this in bazaar. I have come up with two possibilities that I think are viable. The first I think is the "right" way. \dev (shared repository) \trunk \project1 (branch) \project2 (branch) \libXXX \branches \proj1-bugfix123 \main (branch of \trunk\project1) \libXXX (branch of \trunk\libXXX) \proj1-featureA \main (branch of \trunk\project1) \libXXX (branch of \trunk\libXXX) The problems with this is that now I need to remember to update the solution file to include the right projects whenever I make a branch and to not push that back, and also to remember to push changes back to both the project and library at the same time (for instance, if featureA in project1 requires changes to libXXX to work). \dev (shared repository) \trunk \project1 (branch) \project2 (branch) \libXXX \branches \proj1-bugfix123 (branch of \trunk\project1) \libXXX \proj1-featureA (branch of \trunk\project1) \libXXX The problems with this approach are that if another project, say project3 wanted to use libXXX and be in source control, it would need to be a branch off of project1, with the project1 files deleted. It would be messy. I suppose there is a third option of having the entire trunk be a branch as in subversion, but that seems to be counter to the way things I think they are supposed to work in bazaar. If this were done in SourceSafe, I would just do it like the second example, but have the libxxx folders in both places, but shared, since that is the only mechanism sourcesafe has to do it in. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
There is no simple solution yet in bzr. You need nested trees support, but it's not implemented yet (http://bazaar-vcs.org/NestedTreeSupport), but may will be soon. There is old tool called config-manager (https://launchpad.net/config-manager). Also there is new plugin for bzr called scmproj (https://launchpad.net/bzr-scmproj), it's alpha now and in active development.

Related questions

0 votes
    I've been using Git for a while now and have recently downloaded an update only to find this warning message ... share repos with? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I used git pull and had a merge conflict: unmerged: _widget.html.erb You are in the middle of a conflicted merge. ... can I do this? Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    I have made some changes to a file that has been committed a few times as part of a group of files, but ... former state in the past Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    How do I discard changes in my working copy that are not in the index? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Explain the difference between a centralized and distributed version control system (VCS)....
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    Right now, we are using Perforce for version control. It has the handy feature of a strictly increasing ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    Right now, we are using Perforce for version control. It has the handy feature of a strictly increasing ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    The following are operating system processing program except? A. Control programs B. Utility programs C. Library ... Linkage editor Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    I often run into the following problem. I work on some changes to a project that require new tables ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    Git is a ___________________________ version control system. (i)Centralized (ii)Distributed (iii)Local (iv)None of the options...
asked Oct 5, 2020 in Technology by Editorial Staff
0 votes
    ______ stores longer lived control data like component IP addresses and distributed locks. (1)Bulletin Board System (2)Consul (3)NATS (4)All the options...
asked Aug 24, 2021 in Technology by JackTerrance
0 votes
    Which of the following is a library for statistical quality control? (a) gcc (b) qcc (c) anc (d) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    While running the server, i am getting the error incompatible library version.Already Nokogiri is installed in ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    I've always just FTPed files down from sites, edited them and put them back up when creating sites, ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    Name the command to create a new directory under version control?...
asked Feb 21, 2021 in Technology by JackTerrance
...