Show More
@@ -921,10 +921,7 b' class queue:' | |||||
921 | start = self.series_end() |
|
921 | start = self.series_end() | |
922 | else: |
|
922 | else: | |
923 | start = self.series.index(patch) + 1 |
|
923 | start = self.series.index(patch) + 1 | |
924 | for p in self.series[start:]: |
|
924 | return [(i, self.series[i]) for i in xrange(start, len(self.series))] | |
925 | if self.ui.verbose: |
|
|||
926 | self.ui.write("%d " % self.series.index(p)) |
|
|||
927 | self.ui.write("%s\n" % p) |
|
|||
928 |
|
925 | |||
929 | def qseries(self, repo, missing=None, summary=False): |
|
926 | def qseries(self, repo, missing=None, summary=False): | |
930 | start = self.series_end() |
|
927 | start = self.series_end() | |
@@ -1173,8 +1170,10 b' def applied(ui, repo, patch=None, **opts' | |||||
1173 |
|
1170 | |||
1174 | def unapplied(ui, repo, patch=None, **opts): |
|
1171 | def unapplied(ui, repo, patch=None, **opts): | |
1175 | """print the patches not yet applied""" |
|
1172 | """print the patches not yet applied""" | |
1176 | repo.mq.unapplied(repo, patch) |
|
1173 | for i, p in repo.mq.unapplied(repo, patch): | |
1177 | return 0 |
|
1174 | if ui.verbose: | |
|
1175 | ui.write("%d " % i) | |||
|
1176 | ui.write("%s\n" % p) | |||
1178 |
|
1177 | |||
1179 | def qimport(ui, repo, *filename, **opts): |
|
1178 | def qimport(ui, repo, *filename, **opts): | |
1180 | """import a patch""" |
|
1179 | """import a patch""" |
General Comments 0
You need to be logged in to leave comments.
Login now