On 25.07.2009 02:07, Adrian Buehlmann wrote: > On 24.07.2009 17:58, Steve Borho wrote: >> Now that 0.8.1 is out the door, it's time to concentrate on 0.9. >> >> The first large steps will be happening soon. I am going to apply >> names to the two existing lines of development. The 0.8 line of >> development, which is present in both the stable and crew >> repositories, will be given a branch name of '0.8'. The 0.9 line of >> development, which is only present on the crew repository, will be >> given a branch name of '0.9'. > > Another rough idea to check: > > What about introducing just the branch name "stable"? > > The default branch could take over what's currently in crew repo. > > The "stable" branch could take over what's currently in stable repo. > > This would save us from a proliferation of branch names. >
An interesting difference to the (current) split repo situation is the following: Assume you have some changes done in the default branch (corresponds to crew repo) in the combined repo like this (csets 3283:3285): > hg glog -l6 o changeset: 3285:d49ba8fe1204 | tag: tip | user: Adrian Buehlmann <adr...@cadifra.com> | date: Mon Jul 27 19:16:14 2009 +0200 | summary: hack 3 | o changeset: 3284:485eee4a1ee4 | user: Adrian Buehlmann <adr...@cadifra.com> | date: Mon Jul 27 19:15:42 2009 +0200 | summary: hack 2 | o changeset: 3283:3c03993d0625 | user: Adrian Buehlmann <adr...@cadifra.com> | date: Mon Jul 27 19:15:06 2009 +0200 | summary: hack 1 | o changeset: 3282:1231e67c6c38 |\ parent: 3269:43a71c9d707c | | parent: 3281:8087f1733038 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Sat Jul 25 12:51:02 2009 +0200 | | summary: merge with stable | | | @ changeset: 3281:8087f1733038 | | branch: stable | | user: Steve Borho <st...@borho.org> | | date: Thu Jul 23 22:46:53 2009 -0500 | | summary: doc: recommend sphinx 0.6 or later | | | o changeset: 3280:6a46b7f1a4a9 | | branch: stable | | user: Steve Borho <st...@borho.org> | | date: Thu Jul 23 22:45:44 2009 -0500 | | summary: manifest: include doc sources in tar files | | Now, assume we wanted to do a release, also containing everything from the default branch. In the old system, the csets 3283:3285 would have been in crew ("main") repo and Steve would have just pulled them into stable and tagged the release. In the combined repo approach with the named branch "stable", Steve would probably then have to do something like: > hg par changeset: 3285:d49ba8fe1204 tag: tip user: Adrian Buehlmann <adr...@cadifra.com> date: Mon Jul 27 19:16:14 2009 +0200 summary: hack 3 > hg up stable 19 files updated, 0 files merged, 1 files removed, 0 files unresolved > hg par changeset: 3281:8087f1733038 branch: stable user: Steve Borho <st...@borho.org> date: Thu Jul 23 22:46:53 2009 -0500 summary: doc: recommend sphinx 0.6 or later > hg merge -r default 20 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) > hg ci -m"merge with default" > hg tag 0.8.2 Giving the following result: > hg glog -l8 @ changeset: 3287:ecb146ecbe60 | branch: stable | tag: tip | user: Adrian Buehlmann <adr...@cadifra.com> | date: Mon Jul 27 19:54:22 2009 +0200 | summary: Added tag 0.8.2 for changeset dad86830ec19 | o changeset: 3286:dad86830ec19 |\ branch: stable | | tag: 0.8.2 | | parent: 3281:8087f1733038 | | parent: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:54:13 2009 +0200 | | summary: merge with default | | | o changeset: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:16:14 2009 +0200 | | summary: hack 3 | | | o changeset: 3284:485eee4a1ee4 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:15:42 2009 +0200 | | summary: hack 2 | | | o changeset: 3283:3c03993d0625 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:15:06 2009 +0200 | | summary: hack 1 | | | o changeset: 3282:1231e67c6c38 |/| parent: 3269:43a71c9d707c | | parent: 3281:8087f1733038 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Sat Jul 25 12:51:02 2009 +0200 | | summary: merge with stable | | o | changeset: 3281:8087f1733038 | | branch: stable | | user: Steve Borho <st...@borho.org> | | date: Thu Jul 23 22:46:53 2009 -0500 | | summary: doc: recommend sphinx 0.6 or later | | o | changeset: 3280:6a46b7f1a4a9 | | branch: stable | | user: Steve Borho <st...@borho.org> | | date: Thu Jul 23 22:45:44 2009 -0500 | | summary: manifest: include doc sources in tar files | | The merge 3286 would not have been necessary (not even possible) with the (current) split repo approach. The merge corresponds to the previous "pulling crew into stable" action. With the split repo approach, if there is no need for a merge, no merge can be done. At this point, there is again something to merge into default (the change to .hgtags): > hg up default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved > hg merge -r stable 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) > hg ci -m"merge with stable" Resulting in: > hg glog -l4 @ changeset: 3288:b1a77bc016dd |\ tag: tip | | parent: 3285:d49ba8fe1204 | | parent: 3287:ecb146ecbe60 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 21:01:06 2009 +0200 | | summary: merge with stable | | | o changeset: 3287:ecb146ecbe60 | | branch: stable | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:54:22 2009 +0200 | | summary: Added tag 0.8.2 for changeset dad86830ec19 | | | o changeset: 3286:dad86830ec19 |/| branch: stable | | tag: 0.8.2 | | parent: 3281:8087f1733038 | | parent: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:54:13 2009 +0200 | | summary: merge with default | | o | changeset: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:16:14 2009 +0200 | | summary: hack 3 | | Strangely, we can even continue like this (even though there are no file differences left between stable and default branch): > hg branch default > hg up stable 0 files updated, 0 files merged, 0 files removed, 0 files unresolved > hg merge -r default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) > hg ci -m "merge with default" Leading to: > hg glog -l6 @ changeset: 3289:5499d71a2ee2 |\ branch: stable | | tag: tip | | parent: 3287:ecb146ecbe60 | | parent: 3288:b1a77bc016dd | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 21:04:46 2009 +0200 | | summary: merge with default | | | o changeset: 3288:b1a77bc016dd |/| parent: 3285:d49ba8fe1204 | | parent: 3287:ecb146ecbe60 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 21:01:06 2009 +0200 | | summary: merge with stable | | o | changeset: 3287:ecb146ecbe60 | | branch: stable | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:54:22 2009 +0200 | | summary: Added tag 0.8.2 for changeset dad86830ec19 | | o | changeset: 3286:dad86830ec19 |\| branch: stable | | tag: 0.8.2 | | parent: 3281:8087f1733038 | | parent: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:54:13 2009 +0200 | | summary: merge with default | | | o changeset: 3285:d49ba8fe1204 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:16:14 2009 +0200 | | summary: hack 3 | | | o changeset: 3284:485eee4a1ee4 | | user: Adrian Buehlmann <adr...@cadifra.com> | | date: Mon Jul 27 19:15:42 2009 +0200 | | summary: hack 2 | | A strange asymmetry that does not exist with the split repo approach. ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss