equal
deleted
inserted
replaced
175 if l == "\n": # |
175 if l == "\n": # |
176 state = 0 |
176 state = 0 |
177 p = [self.parent[id]] |
177 p = [self.parent[id]] |
178 if id == "1": |
178 if id == "1": |
179 p = [] |
179 p = [] |
|
180 if branch == "HEAD": |
|
181 branch = "" |
180 c = commit(author=author, date=date, parents=p, |
182 c = commit(author=author, date=date, parents=p, |
181 desc=log, branch=branch) |
183 desc=log, branch=branch) |
182 self.changeset[id] = c |
184 self.changeset[id] = c |
183 self.files[id] = files |
185 self.files[id] = files |
184 else: |
186 else: |