/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 commands.py

Clean up trailing whitespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
                except NotBranchError:
108
108
                    head_branch = head_bzrdir.create_branch()
109
109
                revid = mapping.revision_id_foreign_to_bzr(ref)
110
 
                source_branch = GitBranch(source_repo.bzrdir, source_repo, 
 
110
                source_branch = GitBranch(source_repo.bzrdir, source_repo,
111
111
                    name, None, tags)
112
112
                source_branch.head = ref
113
113
                if head_branch.last_revision() != revid:
119
119
 
120
120
class cmd_git_object(Command):
121
121
    """List or display Git objects by SHA.
122
 
    
 
122
 
123
123
    Cat a particular object's Git representation if a SHA is specified.
124
124
    List all available SHAs otherwise.
125
125
    """
128
128
 
129
129
    aliases = ["git-objects", "git-cat"]
130
130
    takes_args = ["sha1?"]
131
 
    takes_options = [Option('directory', 
 
131
    takes_options = [Option('directory',
132
132
        short_name='d',
133
133
        help='Location of repository.', type=unicode),
134
134
        Option('pretty', help='Pretty-print objects.')]