##// END OF EJS Templates
mq: fix qpush --move for selected guarded patches...
Gilles Moris -
r11438:88fc876a stable
parent child Browse files
Show More
@@ -1046,10 +1046,12 b' class queue(object):'
1046
1046
1047 if move:
1047 if move:
1048 try:
1048 try:
1049 del self.full_series[self.full_series.index(patch, start)]
1049 index = self.series.index(patch, start)
1050 fullpatch = self.full_series[index]
1051 del self.full_series[index]
1050 except ValueError:
1052 except ValueError:
1051 raise util.Abort(_("patch '%s' not found") % patch)
1053 raise util.Abort(_("patch '%s' not found") % patch)
1052 self.full_series.insert(start, patch)
1054 self.full_series.insert(start, fullpatch)
1053 self.parse_series()
1055 self.parse_series()
1054 self.series_dirty = 1
1056 self.series_dirty = 1
1055
1057
General Comments 0
You need to be logged in to leave comments. Login now