~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/upgrade-guide/tips_and_tricks.txt

  • Committer: John Arbash Meinel
  • Author(s): Mark Hammond
  • Date: 2008-09-09 17:02:21 UTC
  • mto: This revision was merged to the branch mainline in revision 3697.
  • Revision ID: john@arbash-meinel.com-20080909170221-svim3jw2mrz0amp3
An updated transparent icon for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Tips and tricks
2
 
###############
3
 
 
4
 
Finding obsolete branches
5
 
-------------------------
6
 
 
7
 
If you use feature branching for developing each fix
8
 
and enhancement separately, you may have several old
9
 
branches that are no longer required. In many cases,
10
 
the relevant changes may now be merged into trunk.
11
 
In other cases, a branch may be obsolete thanks to
12
 
another change made by yourself or others.
13
 
 
14
 
When checking for an obsolete branch, there are three
15
 
things in particular to confirm:
16
 
 
17
 
1. The working tree has no in-progress changes.
18
 
 
19
 
2. The working tree has no shelved changes.
20
 
 
21
 
3. Any locally committed revisions have been merged
22
 
   into the parent branch.
23
 
 
24
 
After changing into the root of a branch, the commands
25
 
to check these things respectively are::
26
 
 
27
 
  bzr status
28
 
  bzr shelve --list
29
 
  bzr missing --mine-only
30
 
 
31
 
If your branches are stored in a shared repository locally,
32
 
you may find the *Local Changes* tab in Bazaar Explorer's
33
 
repository view helpful here (revision 159 or later) as it
34
 
shows a summary of these things, excluding the shelve information
35
 
currently, for each branch as you select it.