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