Mercurial > hgsubversion
comparison push_cmd.py @ 230:4c3bad24f950
rebase: cleanup slightly.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Mon, 30 Mar 2009 16:11:45 -0500 |
| parents | 330f0b15d417 |
| children | 33e885f5f86a |
comparison
equal
deleted
inserted
replaced
| 229:7f20914e52e8 | 230:4c3bad24f950 |
|---|---|
| 80 for needs_transplant in heads: | 80 for needs_transplant in heads: |
| 81 def extrafn(ctx, extra): | 81 def extrafn(ctx, extra): |
| 82 if ctx.node() == oldest: | 82 if ctx.node() == oldest: |
| 83 return | 83 return |
| 84 extra['branch'] = ctx.branch() | 84 extra['branch'] = ctx.branch() |
| 85 utility_commands.rebase_commits(ui, repo, hg_repo_path, | 85 utility_commands.rebase_commits(ui, repo, |
| 86 extrafn=extrafn, | 86 extrafn=extrafn, |
| 87 sourcerev=needs_transplant, | 87 sourcerev=needs_transplant, |
| 88 **opts) | 88 **opts) |
| 89 repo = hg.repository(ui, hge.path) | 89 repo = hg.repository(ui, hge.path) |
| 90 for child in repo[replacement.node()].children(): | 90 for child in repo[replacement.node()].children(): |
