/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to __init__.py

Make the tests fail not error out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Upload a working treem incrementally"""
18
18
 
19
 
from bzrlib import commands
 
19
from bzrlib import (
 
20
    commands,
 
21
    option,
 
22
    )
20
23
 
21
24
class cmd_upload(commands.Command):
22
25
    """Upload a working tree, as a whole or incrementally.
27
30
    takes_args = ['dest?']
28
31
    takes_options = [
29
32
        'revision',
30
 
        Option('full',
31
 
               'Upload the full working tree.'
 
33
        option.Option('full', 'Upload the full working tree.'),
32
34
        ]
33
 
    def run(self, dest, revision=None):
 
35
    def run(self, dest, full=False, revision=None):
34
36
        pass
35
37
 
36
38
commands.register_command(cmd_upload)