39
39
class CreateCredits(Command):
40
40
description = "Create credits file"
44
44
def initialize_options(self):
47
47
def finalize_options(self):
50
50
def get_command_name(self):
55
54
from bzrlib.branch import Branch
56
55
from bzrlib.plugins.stats import find_credits
61
60
credits = find_credits(branch.repository, branch.last_revision())
63
62
pickle.dump(credits, file("credits.pickle", 'w'))