From d4090a33827090361fe624a100b229011d01b17e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 19 Jun 2011 10:20:52 +0100 Subject: Break out debian/changelog munging to separate command. This allows it to be used without having to run a dsc command. --- unperish | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/unperish b/unperish index db01d2a..a2ad172 100755 --- a/unperish +++ b/unperish @@ -148,10 +148,13 @@ class Unperish(cliapp.Application): origtar = self.join(self.debian_tarball) self.runcmd('bzr', 'export', origtar) - def cmd_dsc(self, args): - '''Create Debian source package (.dsc) in build area.''' + def cmd_dch(self, args): + '''Add a debian/changelog entry for new upload target.''' if self.settings['upload-target']: self.add_debian_changelog_entry() + + def cmd_dsc(self, args): + '''Create Debian source package (.dsc) in build area.''' self.runcmd('dpkg-source', '-b', self.dirname, cwd=self.settings['build-area']) -- cgit v1.2.1