##// END OF EJS Templates
mq: bail out if a patch appears more than once in the series file....
Brendan Cully -
r3184:87b7ae30 default
parent child Browse files
Show More
@@ -114,6 +114,9 b' class queue:'
114 comment = l[h:]
114 comment = l[h:]
115 patch = patch.strip()
115 patch = patch.strip()
116 if patch:
116 if patch:
117 if patch in self.series:
118 raise util.Abort(_('%s appears more than once in %s') %
119 (patch, self.join(self.series_path)))
117 self.series.append(patch)
120 self.series.append(patch)
118 self.series_guards.append(self.guard_re.findall(comment))
121 self.series_guards.append(self.guard_re.findall(comment))
119
122
General Comments 0
You need to be logged in to leave comments. Login now