~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: Robert Collins
  • Date: 2005-10-20 09:20:46 UTC
  • Revision ID: robertc@robertcollins.net-20051020092046-f41cd3e0c9896b98
Merge now has a retcode of 1 when conflicts occur. (Robert Collins)

'merge_flex' no longer calls conflict_handler.finalize(), instead that
is called by merge_inner. This is so that the conflict count can be 
retrieved (and potentially manipulated) before returning to the caller
of merge_inner. Likewise 'merge' now returns the conflict count to the
caller. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
* Module names should always be given fully-qualified,
35
35
  i.e. ``bzrlib.hashcache`` not just ``hashcache``.
36
36
 
 
37
* Commands should return Non-Zero when they encounter circumstances that
 
38
  the user should really pay attention to - which includes trivial shell
 
39
  pipelines.
 
40
 
 
41
  Recommanded values are 
 
42
    0- OK, 
 
43
    1- Conflicts in merge-like operations, or changes are present in
 
44
       diff-like operations. 
 
45
    2- Unrepresentable diff changes (i.e. binary files that we cannot show 
 
46
       a diff of).
 
47
    3- An error or exception has occured.
 
48
 
37
49
Evolving interfaces
38
50
-------------------
39
51