/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 doc/en/user-guide/reviewing_changes.txt

  • Committer: Xavier Maillard
  • Date: 2008-03-26 06:21:48 UTC
  • mto: (3322.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3323.
  • Revision ID: xma@gnu.org-20080326062148-f7mnwvttv4oq8013
Add mail-mode GNU Emacs mail package as a mail_client option.
    
Idea and original code by Bojan Nikolic modified in this way:
    
1. define a different python class EmacsMailMode
2. use mail-mode package instead of message-mode. mail-mode is the
   default mail mode in GNU Emacs.
3. put the patch as a MIME attachment (see NOTE)
4. add tests as required to fulfil merge strategy requirements
    
To use this option, just put these lines into ~/.bazaar/bazaar.conf
    
[DEFAULT]
mail_client = emacs-mailmode

NOTE: this will work only for GNU Emacs version from 22.1 and superior.
      The MIME attachment is handled by etach[1] package. Just put
      etach.el into your `load-path'. GNU Emacs is not shipped with a
      simple MIME package thus the need of a simple and reliable
      alternative (etach does both reading and writing of MIME objects).

[1] http://rulnick.com/etach/download

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
prior to permanently recording it. This way, you can make sure you'll be
9
9
committing what you intend to.
10
10
 
11
 
Two bzr commands are particularly useful here: **status** and **diff**.
 
11
Two bzr commands are particularly useful here: **status** and **diff**.  
12
12
 
13
13
bzr status
14
14
----------
45
45
    % bzr diff -r 1000..          # everything since r1000
46
46
    % bzr diff -r 1000..1100      # changes from 1000 to 1100
47
47
 
48
 
To see the changes introduced by a single revision, you can use the ``-c``
49
 
option to diff.
50
 
 
51
 
::
52
 
 
53
 
    % bzr diff -c 1000            # changes from r1000
54
 
                                  # identical to -r999..1000
55
 
 
56
48
The ``--diff-options`` option causes bzr to run the external diff program,
57
49
passing options.  For example::
58
50
 
61
53
Some projects prefer patches to show a prefix at the start of the path
62
54
for old and new files.  The ``--prefix`` option can be used to provide
63
55
such a prefix.
64
 
As a shortcut, ``bzr diff -p1`` produces a form that works with the
 
56
As a shortcut, ``bzr diff -p1`` produces a form that works with the 
65
57
command ``patch -p1``.
66
58