diff options
| author | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-15 18:46:14 -0500 |
|---|---|---|
| committer | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2009-01-15 18:46:14 -0500 |
| commit | e83ebfc853ede37a02c3bf6f09d2786bbef7080d (patch) | |
| tree | 8d2da28ad7e8e0e5584fca61a68c87c26db7440a /modules/darcs.py | |
| parent | 7ff1ef7ad4fe00770db6fde54bb1c3c8066bc4bf (diff) | |
| download | fedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.tar.gz fedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.tar.xz fedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.zip | |
Random bugfixes
makes it work
gets rid of _type madness
fixes imports
fixes random function signatures
inserts a bloody stupid easter egg hack
floats on a wooden raft
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, |
