~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/reviewing_changes.txt

(mbp) tolerate empty limbo and pending-deletion directories (bug 427773)
 (Martin Pool)

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
 
48
56
The ``--diff-options`` option causes bzr to run the external diff program,
49
57
passing options.  For example::
50
58
 
53
61
Some projects prefer patches to show a prefix at the start of the path
54
62
for old and new files.  The ``--prefix`` option can be used to provide
55
63
such a prefix.
56
 
As a shortcut, ``bzr diff -p1`` produces a form that works with the 
 
64
As a shortcut, ``bzr diff -p1`` produces a form that works with the
57
65
command ``patch -p1``.
58
66