/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Vincent Ladeuil
  • Date: 2008-11-06 15:45:24 UTC
  • mto: This revision was merged to the branch mainline in revision 625.
  • Revision ID: v.ladeuil+lp@free.fr-20081106154524-n9al5n1pome2xo0u
Fix bug #289220 by using the right parameter order.

* status.py:
(StatusWindow.row_diff): One can argue that the parameters are in
the wrong order or just respect their meaning :) Thanks to Anne
Mohsen for noticing and proposing the fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
class CreateCredits(Command):
40
40
    description = "Create credits file"
41
41
 
42
 
    user_options = [("url=", None, "URL of branch")]
 
42
    user_options = []
43
43
 
44
44
    def initialize_options(self):
45
 
        self.url = "."
 
45
        pass
46
46
 
47
47
    def finalize_options(self):
48
48
        pass
49
49
 
50
50
    def get_command_name(self):
51
 
        return 'build_credits'
 
51
        return 'test'
52
52
 
53
53
    def run(self):
54
 
        from bzrlib.plugin import load_plugins; load_plugins()
55
54
        from bzrlib.branch import Branch
56
55
        from bzrlib.plugins.stats import find_credits
57
56
 
58
57
        import pickle
59
58
 
60
 
        branch = Branch.open(self.url)
 
59
        branch = Branch.open(".")
61
60
        credits = find_credits(branch.repository, branch.last_revision())
62
61
 
63
62
        pickle.dump(credits, file("credits.pickle", 'w'))
137
136
 
138
137
setup(
139
138
    name = "bzr-gtk",
140
 
    version = "0.97.0",
 
139
    version = "0.96.0",
141
140
    maintainer = "Jelmer Vernooij",
142
141
    maintainer_email = "jelmer@samba.org",
143
142
    description = "GTK+ Frontends for various Bazaar commands",