42 |
42 |
43 SKIPREV = 'SKIP' |
43 SKIPREV = 'SKIP' |
44 |
44 |
45 class commit(object): |
45 class commit(object): |
46 def __init__(self, author, date, desc, parents, branch=None, rev=None, |
46 def __init__(self, author, date, desc, parents, branch=None, rev=None, |
47 extra={}, sortkey=None): |
47 extra={}, sortkey=None, saverev=True): |
48 self.author = author or 'unknown' |
48 self.author = author or 'unknown' |
49 self.date = date or '0 0' |
49 self.date = date or '0 0' |
50 self.desc = desc |
50 self.desc = desc |
51 self.parents = parents |
51 self.parents = parents |
52 self.branch = branch |
52 self.branch = branch |
53 self.rev = rev |
53 self.rev = rev |
54 self.extra = extra |
54 self.extra = extra |
55 self.sortkey = sortkey |
55 self.sortkey = sortkey |
|
56 self.saverev = saverev |
56 |
57 |
57 class converter_source(object): |
58 class converter_source(object): |
58 """Conversion source interface""" |
59 """Conversion source interface""" |
59 |
60 |
60 def __init__(self, ui, path=None, rev=None): |
61 def __init__(self, ui, path=None, rev=None): |