From 138d8addb6cb753b2a03b0c4b865869fd78db7c0 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Tue, 24 Jun 2008 21:53:32 +0200 Subject: add support for displaying "direct" changes i.e. changes made directly to files (not using any patching system and not underneath ./debian) also introduce new Diffstat class for mangling diff stats in various ways. --- pagehandler.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pagehandler.py') diff --git a/pagehandler.py b/pagehandler.py index 0528291..7452880 100755 --- a/pagehandler.py +++ b/pagehandler.py @@ -35,6 +35,10 @@ class CmdHandler: elif patchtype == "nondebian": self.patchname = "direct (non packaging) changes" self.content = dh.nondebiandir() + elif patchtype == "misc": + patchfile = args[5] + self.patchname = "direct changes for "+patchfile + self.content = dh.filterdiff(include=patchfile) else: self.error("unhandled patch type '%s'"%(patchtype)) self.pkgname = pkgname -- cgit v1.2.3