Show More
@@ -476,6 +476,11 b' class queue(object):' | |||||
476 | write_list(self.full_series, self.series_path) |
|
476 | write_list(self.full_series, self.series_path) | |
477 | if self.guards_dirty: |
|
477 | if self.guards_dirty: | |
478 | write_list(self.active_guards, self.guards_path) |
|
478 | write_list(self.active_guards, self.guards_path) | |
|
479 | if self.added: | |||
|
480 | qrepo = self.qrepo() | |||
|
481 | if qrepo: | |||
|
482 | qrepo[None].add(self.added) | |||
|
483 | self.added = [] | |||
479 |
|
484 | |||
480 | def removeundo(self, repo): |
|
485 | def removeundo(self, repo): | |
481 | undo = repo.sjoin('undo') |
|
486 | undo = repo.sjoin('undo') | |
@@ -1809,10 +1814,6 b' def qimport(ui, repo, *filename, **opts)' | |||||
1809 | git=opts['git']) |
|
1814 | git=opts['git']) | |
1810 | finally: |
|
1815 | finally: | |
1811 | q.save_dirty() |
|
1816 | q.save_dirty() | |
1812 | qrepo = q.qrepo() |
|
|||
1813 | if qrepo: |
|
|||
1814 | qrepo[None].add(q.added) |
|
|||
1815 | q.added = [] |
|
|||
1816 |
|
1817 | |||
1817 | if opts.get('push') and not opts.get('rev'): |
|
1818 | if opts.get('push') and not opts.get('rev'): | |
1818 | return q.push(repo, None) |
|
1819 | return q.push(repo, None) |
@@ -366,10 +366,6 b' def updatemq(repo, state, skipped, **opt' | |||||
366 | mq.qimport(repo, (), patchname=name, git=isgit, |
|
366 | mq.qimport(repo, (), patchname=name, git=isgit, | |
367 | rev=[str(state[rev])]) |
|
367 | rev=[str(state[rev])]) | |
368 | mq.save_dirty() |
|
368 | mq.save_dirty() | |
369 | qrepo = mq.qrepo() |
|
|||
370 | if qrepo: |
|
|||
371 | qrepo[None].add(mq.added) |
|
|||
372 | mq.added = [] |
|
|||
373 |
|
369 | |||
374 | def storestatus(repo, originalwd, target, state, collapse, keep, keepbranches, |
|
370 | def storestatus(repo, originalwd, target, state, collapse, keep, keepbranches, | |
375 | external): |
|
371 | external): |
General Comments 0
You need to be logged in to leave comments.
Login now