Topic: SVN Server
belizeian Topic Opener |
Posted at:
2010-02-11, 14:52 UTC+1.0
true that. ![]() ![]() |
belizeian Topic Opener |
Posted at:
2010-02-14, 14:36 UTC+1.0
What's the best way to keep it up to date? bzr update Is what Iv'e tried but I see commits that arent' getting updated. ![]() ![]() |
SirVer |
Posted at:
2010-02-14, 15:32 UTC+1.0
bzr pull is what you search. ![]() ![]() |
belizeian Topic Opener |
Posted at:
2010-02-14, 16:35 UTC+1.0
Pull or merge? and is there a way to determine current version of a widelands in bazaar without pulling or mergeing? Ie fooling with a automatic updateing and build script. I can get the current verison I have by currev=$(sed -n 1p VERSION) I need the version in the repo so I can compare and determine if I need to update. ![]() ![]() |
SirVer |
Posted at:
2010-02-14, 17:43 UTC+1.0
You need merge if your branch and the remote branch have diverged, otherwise you can use pull. Please consider reading the BzrPrimer and the tutorials on the bzr website. You can use bzr revno to get the current revision, though note that each branch has its own numbering. ![]() ![]() |
raistware |
Posted at:
2010-02-15, 09:27 UTC+1.0
The way I will work is: Only first time:
To add a new feature:
To get changes on main branch:
To fix a bug you can work on mainstream or create a new branch only for fixing it, to avoid breaking mainstream:
When bug get fully fixed, then you can propose a merge with main through launchpad web, or rebase your bug-xxx branch with mainstream, merge bug-xxx with main and do a push on main:
Doing that way another can push a change before you push yours, in this case a conflict could arise when try to push, 'branches has diversed' or something like. When this happens you simply uncommit your merges to main:
Revert to undo merge:
Update your mainstream (see above) and redo the rebase, merge, commit and push. Doing manually can be a bit 'time consuming' if a lot of developers push at same time so I think that is better to make a petition to merge and solve all on launchpad web. PD: Please, add the branch name to current version, because now we can have the same revision number for a lot of different branches. Thanks
Edited:
2010-02-15, 09:30 UTC+1.0
![]() ![]() |
SirVer |
Posted at:
2010-02-15, 19:45 UTC+1.0
raistware, that's a nice writeup. Mind pimping the BzrPrimer site a bit? ![]() ![]() |
raistware |
Posted at:
2010-02-16, 09:41 UTC+1.0
I added this to BzrPrimer, but I think that old content and my added content can make a mess on brains developers that are new to distributed control versions
Edited:
2010-02-16, 09:42 UTC+1.0
![]() ![]() |