~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2006-01-06 15:36:21 UTC
  • mto: (1185.50.40 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1549.
  • Revision ID: john@arbash-meinel.com-20060106153621-671372fb0c7eb964
Removed --all from bzr uncommit, it was broken anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1972
1972
    In the future, uncommit will create a changeset, which can then
1973
1973
    be re-applied.
1974
1974
    """
1975
 
    takes_options = ['all', 'verbose', 'revision',
 
1975
    takes_options = ['verbose', 'revision',
1976
1976
                    Option('dry-run', help='Don\'t actually make changes'),
1977
1977
                    Option('force', help='Say yes to all questions.')]
1978
1978
    takes_args = ['location?']
1979
1979
    aliases = []
1980
1980
 
1981
 
    def run(self, location=None, all=False,
 
1981
    def run(self, location=None, 
1982
1982
            dry_run=False, verbose=False,
1983
1983
            revision=None, force=False):
1984
1984
        from bzrlib.branch import Branch
2015
2015
                    print 'Canceled'
2016
2016
                    return 0
2017
2017
 
2018
 
        uncommit(b, remove_files=all,
2019
 
                dry_run=dry_run, verbose=verbose,
 
2018
        uncommit(b, dry_run=dry_run, verbose=verbose,
2020
2019
                revno=revno)
2021
2020
 
2022
2021