summaryrefslogtreecommitdiffstats
path: root/modules/darcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darcs.py')
-rw-r--r--modules/darcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/darcs.py b/modules/darcs.py
index 7c6eda4..189da60 100644
--- a/modules/darcs.py
+++ b/modules/darcs.py
@@ -95,7 +95,7 @@ class Darcs(RevisionControl):
handling, we may ask the user to commit all the changes to darcs,
and then have devshell generate .patch files automatically instead
'''
- with pwd(self.cfg['source']):
+ with pwd(self.source_dir):
p = Popen(['darcs', 'changes', '--xml-output', '--last=1'],
stdout = PIPE, stderr = PIPE)
change = p.communicate()[0]