summaryrefslogtreecommitdiff
path: root/unperish
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-29 10:54:17 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-29 10:54:17 +0100
commitf3c6116f948272ff1a1929c2441185cf6e86afc2 (patch)
tree52b0b0454fbfc7beeea8178cc19f51312404335d /unperish
parent158e3fbc608aee18e563e395abef24344c982732 (diff)
downloadunperish-f3c6116f948272ff1a1929c2441185cf6e86afc2.tar.gz
Export sources from bzr.
Diffstat (limited to 'unperish')
-rwxr-xr-xunperish7
1 files changed, 7 insertions, 0 deletions
diff --git a/unperish b/unperish
index a760555..98ec244 100755
--- a/unperish
+++ b/unperish
@@ -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