diff options
author | Sean Finney <seanius@debian.org> | 2008-06-24 21:53:32 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-24 21:53:32 +0200 |
commit | 138d8addb6cb753b2a03b0c4b865869fd78db7c0 (patch) | |
tree | 4f81cb4b2ceed96c6e9a79ca05491441cb13df9a /pagehandler.py | |
parent | f78a89015f98a7b686c4097ed4a870a92636ba43 (diff) | |
download | patch-tracker-138d8addb6cb753b2a03b0c4b865869fd78db7c0.tar.gz |
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.
Diffstat (limited to 'pagehandler.py')
-rwxr-xr-x | pagehandler.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |