diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-29 10:54:17 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-29 10:54:17 +0100 |
commit | f3c6116f948272ff1a1929c2441185cf6e86afc2 (patch) | |
tree | 52b0b0454fbfc7beeea8178cc19f51312404335d | |
parent | 158e3fbc608aee18e563e395abef24344c982732 (diff) | |
download | unperish-f3c6116f948272ff1a1929c2441185cf6e86afc2.tar.gz |
Export sources from bzr.
-rwxr-xr-x | unperish | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -61,9 +61,16 @@ class Unperish(cliapp.Application): return '%s_%s.orig.tar.gz' % (self.debian_source_package, self.upstream_version) + @property + def dirname(self): + return '%s-%s' % (self.debian_source_package, self.upstream_version) + def cmd_dump_meta(self, args): self.meta.write(self.output) + def cmd_export(self, args): + self.runcmd('bzr', 'export', self.join(self.dirname)) + def cmd_debian_tarball(self, args): origtar = self.join(self.debian_tarball) print 'origar:', origtar |