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