diff options
Diffstat (limited to 'modules/darcs.py')
-rw-r--r-- | modules/darcs.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/darcs.py b/modules/darcs.py index ac1f013..5e3b352 100644 --- a/modules/darcs.py +++ b/modules/darcs.py @@ -95,14 +95,6 @@ class Darcs(RevisionControl): ''' return self.cfg['hackage_name'] - def source(self, *args): - '''the name of the directory where the source is being kept currently - - hackage_name is the canonical name of the package, this is - just for handling branching and other nasty devilish tricks - ''' - return self.cfg['source'] - @contextmanager def src_dir(self, *args): '''executes a code block inside a specific branch and or checkout @@ -231,6 +223,7 @@ class Darcs(RevisionControl): % full_name) p.communicate() sourceball = full_name + '.tar.gz' + with pwd(self.branch_dir) move(join(self.source_dir(), sourceball), sourceball) self.cfg['sourceball'] = sourceball |