Mercurial > hg
comparison hgext/rebase.py @ 7877:eba7f12b0c51
cleanup: whitespace cleanup
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 23 Mar 2009 13:13:27 +0100 |
parents | 553aa0cbeab6 |
children | 3e0c28145e6a |
comparison
equal
deleted
inserted
replaced
7876:53c72ba36c2b | 7877:eba7f12b0c51 |
---|---|
338 def buildstate(repo, dest, src, base, collapse): | 338 def buildstate(repo, dest, src, base, collapse): |
339 'Define which revisions are going to be rebased and where' | 339 'Define which revisions are going to be rebased and where' |
340 targetancestors = util.set() | 340 targetancestors = util.set() |
341 | 341 |
342 if not dest: | 342 if not dest: |
343 # Destination defaults to the latest revision in the current branch | 343 # Destination defaults to the latest revision in the current branch |
344 branch = repo[None].branch() | 344 branch = repo[None].branch() |
345 dest = repo[branch].rev() | 345 dest = repo[branch].rev() |
346 else: | 346 else: |
347 if 'qtip' in repo.tags() and (repo[dest].hex() in | 347 if 'qtip' in repo.tags() and (repo[dest].hex() in |
348 [s.rev for s in repo.mq.applied]): | 348 [s.rev for s in repo.mq.applied]): |