~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Vincent Ladeuil
  • Date: 2010-10-07 06:08:01 UTC
  • mto: This revision was merged to the branch mainline in revision 5491.
  • Revision ID: v.ladeuil+lp@free.fr-20101007060801-wfdhizfhfmctl8qa
Fix some typos and propose a release planning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1354
1354
    If you want to discard your local changes, you can just do a
1355
1355
    'bzr revert' instead of 'bzr commit' after the update.
1356
1356
 
 
1357
    If you want to restore a file that has been removed locally, use
 
1358
    'bzr revert' instead of 'bzr update'.
 
1359
 
1357
1360
    If the tree's branch is bound to a master branch, it will also update
1358
1361
    the branch from the master.
1359
1362
    """
3481
3484
    If you set BZR_TEST_PDB=1 when running selftest, failing tests will drop
3482
3485
    into a pdb postmortem session.
3483
3486
 
 
3487
    The --coverage=DIRNAME global option produces a report with covered code
 
3488
    indicated.
 
3489
 
3484
3490
    :Examples:
3485
3491
        Run only tests relating to 'ignore'::
3486
3492
 
4798
4804
            self.outf.write('The above revision(s) will be removed.\n')
4799
4805
 
4800
4806
        if not force:
4801
 
            if not ui.ui_factory.get_boolean('Are you sure'):
4802
 
                self.outf.write('Canceled')
 
4807
            if not ui.ui_factory.confirm_action(
 
4808
                    'Uncommit these revisions',
 
4809
                    'bzrlib.builtins.uncommit',
 
4810
                    {}):
 
4811
                self.outf.write('Canceled\n')
4803
4812
                return 0
4804
4813
 
4805
4814
        mutter('Uncommitting from {%s} to {%s}',
4936
4945
    not part of it.  (Such trees can be produced by "bzr split", but also by
4937
4946
    running "bzr branch" with the target inside a tree.)
4938
4947
 
4939
 
    The result is a combined tree, with the subtree no longer an independant
 
4948
    The result is a combined tree, with the subtree no longer an independent
4940
4949
    part.  This is marked as a merge of the subtree into the containing tree,
4941
4950
    and all history is preserved.
4942
4951
    """