Changes between Initial Version and Version 1 of BazaarWorkflow


Ignore:
Timestamp:
2009-08-16T18:13:14Z (15 years ago)
Author:
Jiri Svoboda
Comment:

Distributed version control magic. Hic sunt dracones.

Legend:

Unmodified
Added
Removed
Modified
  • BazaarWorkflow

    v1 v1  
     1= Managing HelenOS source with Bazaar =
     2
     3This should help you to start using our new VCS, Bazaar. Please read this little guide carefully. Inappropriate use of Bazaar '''WILL''' make a mess in our repository.
     4
     5=== Linear History ===
     6
     7If you are doing a simple change (or several simple, unrelated changes) you might try to go for linear history. This will only work if nobody else pushed any changes to the main repository while you were doing your changes. Start by creating your private branch:
     8
     9{{{
     10$ bzr branch bzr://bzr.helenos.org/head my_branch
     11}}}
     12
     13This will create a branch (and working copy) under the directory {{{my_branch}}}. Now make some changes and commit them to your private branch:
     14
     15{{{
     16$ cd my_branch
     17$ ...modify some files...
     18$ bzr commit -m "Fixed crash when writing zero bytes to FAT."
     19}}}
     20
     21Now we can try and push back our changes to the main repository:
     22
     23{{{
     24$ bzr push --remember bzr+http://jermar@bzr.helenos.org/head
     25}}}
     26
     27In the command above please replace {{{jermar}}} with your username. Next time you can just use
     28
     29{{{
     30$ bzr push
     31}}}
     32
     33If nobody pushed any changes since the point you branched off, this will work. Otherwise it will fail. If it fails like this:
     34
     35{{{
     36...
     37}}}
     38
     39you have two options. Either rebase your changes to the mainline head or switch to ''structured history'' workflow.
     40
     41== Rebasing ==
     42
     43== Structured History ==