/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: John Arbash Meinel
  • Date: 2007-04-17 20:10:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2452.
  • Revision ID: john@arbash-meinel.com-20070417201004-1v7sim0tlt19l8o4
Make a Branch helper which can create a very basic MemoryTree with history.
This updates MutableTree to include 'set_parent_ids' which is helpful
when setting up simple tests.
It also creates a helper function in branch_implementations..TestCaseWithBranch
so that we can create a Branch which has a simple merge in it.
It also adds a test for revision_id_to_revno which previously did not have any
direct tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Coding style
2
 
------------
3
 
Dulwich tries to follow PEP-8 where possible. docstrings should use 
4
 
restructuredText.
5
 
 
6
 
Testing
7
 
-------
8
 
The aim is to have unit tests for all functionality: If you add functionality
9
 
please provide matching tests. If you fix a bug, it would be nice if you could
10
 
add a test that reproduces the bug (so that we can prevent regressions).