Show More
@@ -227,6 +227,9 b' class rebaseruntime(object):' | |||
|
227 | 227 | |
|
228 | 228 | def restorestatus(self): |
|
229 | 229 | """Restore a previously stored status""" |
|
230 | if not self.stateobj.exists(): | |
|
231 | cmdutil.wrongtooltocontinue(self.repo, _('rebase')) | |
|
232 | ||
|
230 | 233 | data = self._read() |
|
231 | 234 | self.repo.ui.debug('rebase status resumed\n') |
|
232 | 235 | |
@@ -250,9 +253,7 b' class rebaseruntime(object):' | |||
|
250 | 253 | state = {} |
|
251 | 254 | destmap = {} |
|
252 | 255 | |
|
253 | if not self.stateobj.exists(): | |
|
254 | cmdutil.wrongtooltocontinue(repo, _('rebase')) | |
|
255 | else: | |
|
256 | if True: | |
|
256 | 257 | f = repo.vfs("rebasestate") |
|
257 | 258 | for i, l in enumerate(f.read().splitlines()): |
|
258 | 259 | if i == 0: |
General Comments 0
You need to be logged in to leave comments.
Login now