diff options
Diffstat (limited to 'modules/darcs.py')
| -rw-r--r-- | modules/darcs.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/darcs.py b/modules/darcs.py index 943ebf0..2ca2f6c 100644 --- a/modules/darcs.py +++ b/modules/darcs.py @@ -35,7 +35,6 @@ date_re = re.compile(r'date=\'(\d*?)\'', re.MULTILINE) class Darcs(RevisionControl): '''manages single source packages where the primary source is darcs ''' - _type = 'darcs' def __init__(self, name=None, url=None, *args): if url: #split chokes on URLs that end in a / @@ -145,7 +144,7 @@ class Darcs(RevisionControl): date = date_re.search(change).groups()[0] self.cfg['head'] = (hash, date) - def set_cur_to(self, *args, branch_name=''): + def set_cur_to(self, branch_name='', *args): '''passes arbitrary args to darcs get and makes a branch out of it this is not really optimal, because it only does things temporary, |
