Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/convert/__init__.py @ 4518:3e4aa4c9efe4
convert: map CVS HEAD to default branch
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 07 Jun 2007 12:41:12 +0200 |
parents | 96d8a56d4ef9 |
children | ce1fed4a5b94 |
comparison
equal
deleted
inserted
replaced
4517:5371a213b0f4 | 4518:3e4aa4c9efe4 |
---|---|
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: |