tags 594357 +patch
thanks
Patch attached.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
diff -Nru bzr-stats-0.0.1~bzr40/debian/changelog bzr-stats-0.0.1~bzr40/debian/changelog
--- bzr-stats-0.0.1~bzr40/debian/changelog 2010-08-25 17:23:50.0 +0200
+++ bzr-stats-0.0.1~bzr40/debian/changelog 2010-08-25 17:22:38.0 +0200
@@ -1,3 +1,10 @@
+bzr-stats (0.0.1~bzr40-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Register plugin and commands with bzr. (Closes #594357)
+
+ -- Stefano Rivera Wed, 25 Aug 2010 17:20:29 +0200
+
bzr-stats (0.0.1~bzr40-1) unstable; urgency=low
* New upstream snapshot.
diff -Nru bzr-stats-0.0.1~bzr40/debian/patches/register-commands bzr-stats-0.0.1~bzr40/debian/patches/register-commands
--- bzr-stats-0.0.1~bzr40/debian/patches/register-commands 1970-01-01 02:00:00.0 +0200
+++ bzr-stats-0.0.1~bzr40/debian/patches/register-commands 2010-08-25 17:22:38.0 +0200
@@ -0,0 +1,18 @@
+Description: Register commands with bzrlib
+Author: Stefano Rivera
+Forwarded: http://code.launchpad.net/~stefanor/bzr-stats/register-623981/+merge/33639
+Bug-Ubuntu: http://launchpad.net/bugs/623981
+Bug-Debian: http://bugs.debian.org/594357
+Last-Update: 2010-08-25
+--- /dev/null
b/__init__.py
+@@ -0,0 +1,9 @@
++"""Statistics plugin for Bazaar
++This is a simple plugin for Bazaar that can list the contributors to a branch
++and what they worked on.
++"""
++from bzrlib.commands import plugin_cmds
++version_info = (0, 0, 1, 'bzr', 40)
++plugin_cmds.register_lazy("cmd_committer_statistics", [], "bzrlib.plugins.stats.cmds")
++plugin_cmds.register_lazy("cmd_ancestor_growth", [], "bzrlib.plugins.stats.cmds")
++plugin_cmds.register_lazy("cmd_credits", [], "bzrlib.plugins.stats.cmds")
diff -Nru bzr-stats-0.0.1~bzr40/debian/patches/series bzr-stats-0.0.1~bzr40/debian/patches/series
--- bzr-stats-0.0.1~bzr40/debian/patches/series 1970-01-01 02:00:00.0 +0200
+++ bzr-stats-0.0.1~bzr40/debian/patches/series 2010-08-25 17:22:38.0 +0200
@@ -0,0 +1 @@
+register-commands