Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/convert/hg.py @ 5117:d4fa6bafc43a
Remove trailing spaces, fix indentation
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 07 Aug 2007 10:28:43 +0200 |
parents | 2f9edf6bae95 |
children | 6b4c332f241b |
comparison
equal
deleted
inserted
replaced
5116:2ffe3e2a1ac2 | 5117:d4fa6bafc43a |
---|---|
163 try: | 163 try: |
164 copies[name] = ctx.filectx(name).renamed()[0] | 164 copies[name] = ctx.filectx(name).renamed()[0] |
165 except TypeError: | 165 except TypeError: |
166 pass | 166 pass |
167 return copies | 167 return copies |
168 | 168 |
169 def getcommit(self, rev): | 169 def getcommit(self, rev): |
170 ctx = self.changectx(rev) | 170 ctx = self.changectx(rev) |
171 parents = [hex(p.node()) for p in ctx.parents() if p.node() != nullid] | 171 parents = [hex(p.node()) for p in ctx.parents() if p.node() != nullid] |
172 return commit(author=ctx.user(), date=util.datestr(ctx.date()), | 172 return commit(author=ctx.user(), date=util.datestr(ctx.date()), |
173 desc=ctx.description(), parents=parents, | 173 desc=ctx.description(), parents=parents, |