Show More
@@ -182,7 +182,7 b' def rebase(ui, repo, **opts):' | |||
|
182 | 182 | branch = repo[None].branch() |
|
183 | 183 | dest = repo[branch] |
|
184 | 184 | else: |
|
185 |
dest = repo |
|
|
185 | dest = scmutil.revsingle(repo, destf) | |
|
186 | 186 | |
|
187 | 187 | if revf: |
|
188 | 188 | rebaseset = repo.revs('%lr', revf) |
@@ -158,12 +158,12 b" Rebase with base == '.' => same as no ar" | |||
|
158 | 158 | $ cd .. |
|
159 | 159 | |
|
160 | 160 | |
|
161 |
Rebase with dest == |
|
|
161 | Rebase with dest == branch(.) => same as no arguments (from 3 onto 8): | |
|
162 | 162 | |
|
163 | 163 | $ hg clone -q -u 3 a a3 |
|
164 | 164 | $ cd a3 |
|
165 | 165 | |
|
166 |
$ hg rebase --dest |
|
|
166 | $ hg rebase --dest 'branch(.)' | |
|
167 | 167 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/*-backup.hg (glob) |
|
168 | 168 | |
|
169 | 169 | $ hg tglog |
General Comments 0
You need to be logged in to leave comments.
Login now