SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Назад

Working with BitBucket and Mercurial


Метки: python

Note

Adapted from a posting by Yarko Tymciurak

This assumes that you have created a local branch on your private machine where you do work, and keep it merged with the trunk.

That is, you’ve done:

Todo

This section still work in progress:

When you have a new function idea, or think you’ve found a bug, ask Bruce on the group.

When you are ready to share your work have others review, register a branch.

Note

You can re-use one branch for multiple bug fixes.

  1. Sign up for an account on BitBucket.org
  2. Go to the project and select “register branch” (https://code.BitBucket.org/python3patterns/+addbranch). Suggest you create a hosted branch, then you can work locally, and pull/push as you make progress (see http://doc.Mercurial-vcs.org/latest/en/user-guide/index.html#organizing).
  3. Once you have registered your branch, BitBucket will provide you with instructions on how to pull and push to your personal development copy.
  4. Link your bug report or blueprint to your branch.
  5. Merge from your “parent” (the trunk, or others you are working with) as needed.
  6. Push your working copy to BitBucket as your work is ready for others to review or test.
  7. Once you are done making your changes, have completed testing, and are ready for the project team to inspect & test, please select “propose for merging”
  8. Somebody on the core team will make a test merge (it may include merging with other patches). Once tests pass, and your branch is accepted, it will be merged into the trunk.