diff options
Diffstat (limited to 'modules/darcs.py')
-rw-r--r-- | modules/darcs.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/darcs.py b/modules/darcs.py index 0921d3c..dddaee2 100644 --- a/modules/darcs.py +++ b/modules/darcs.py @@ -44,7 +44,7 @@ class Darcs(RevisionControl): def hackage_name(self): return self.cfg['hackage_name'] - def source_dir(self, *args): + def source(self, *args): return self.cfg['source'] @contextmanager @@ -109,6 +109,12 @@ class Darcs(RevisionControl): def hash(self): return self.cfg['head'][0] + def print_date(self): + log.info('The timestamp is ' + self.date) + + def print_hash(self): + log.info('The hash is ' + self.hash) + def set_cur_to_patch(self, hash): self.set_cur_to('--to-match', 'hash ' + hash) |