diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-06-19 10:20:52 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-06-19 10:20:52 +0100 |
commit | d4090a33827090361fe624a100b229011d01b17e (patch) | |
tree | 207a290c915243f6c8bf0233e991cc7dcf47e480 | |
parent | a835bc96756933ccb62072620a00b501d8e4bef1 (diff) | |
download | unperish-d4090a33827090361fe624a100b229011d01b17e.tar.gz |
Break out debian/changelog munging to separate command.
This allows it to be used without having to run a dsc command.
-rwxr-xr-x | unperish | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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']) |