Show More
@@ -852,6 +852,8 b' class queue:' | |||||
852 | else: |
|
852 | else: | |
853 | start = self.series.index(patch) + 1 |
|
853 | start = self.series.index(patch) + 1 | |
854 | for p in self.series[start:]: |
|
854 | for p in self.series[start:]: | |
|
855 | if self.ui.verbose: | |||
|
856 | self.ui.write("%d " % self.series.index(p)) | |||
855 | self.ui.write("%s\n" % p) |
|
857 | self.ui.write("%s\n" % p) | |
856 |
|
858 | |||
857 | def qseries(self, repo, missing=None): |
|
859 | def qseries(self, repo, missing=None): | |
@@ -999,8 +1001,11 b' class queue:' | |||||
999 |
|
1001 | |||
1000 | def appliedname(self, index): |
|
1002 | def appliedname(self, index): | |
1001 | p = self.applied[index] |
|
1003 | p = self.applied[index] | |
|
1004 | pname = p.split(':')[1] | |||
1002 | if not self.ui.verbose: |
|
1005 | if not self.ui.verbose: | |
1003 |
p = p |
|
1006 | p = pname | |
|
1007 | else: | |||
|
1008 | p = str(self.series.index(pname)) + " " + p | |||
1004 | return p |
|
1009 | return p | |
1005 |
|
1010 | |||
1006 | def top(self, repo): |
|
1011 | def top(self, repo): | |
@@ -1015,7 +1020,10 b' class queue:' | |||||
1015 | if end == len(self.series): |
|
1020 | if end == len(self.series): | |
1016 | self.ui.write("All patches applied\n") |
|
1021 | self.ui.write("All patches applied\n") | |
1017 | else: |
|
1022 | else: | |
1018 |
|
|
1023 | p = self.series[end] | |
|
1024 | if self.ui.verbose: | |||
|
1025 | self.ui.write("%d " % self.series.index(p)) | |||
|
1026 | self.ui.write(p + '\n') | |||
1019 |
|
1027 | |||
1020 | def prev(self, repo): |
|
1028 | def prev(self, repo): | |
1021 | if len(self.applied) > 1: |
|
1029 | if len(self.applied) > 1: |
General Comments 0
You need to be logged in to leave comments.
Login now