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):
54
55
from bzrlib.branch import Branch
55
56
from bzrlib.plugins.stats import find_credits
60
61
credits = find_credits(branch.repository, branch.last_revision())
62
63
pickle.dump(credits, file("credits.pickle", 'w'))