equal
deleted
inserted
replaced
1792 raise util.Abort(_('A patch named %s already exists in the series file') % name) |
1792 raise util.Abort(_('A patch named %s already exists in the series file') % name) |
1793 |
1793 |
1794 if ui.verbose: |
1794 if ui.verbose: |
1795 ui.write('Renaming %s to %s\n' % (patch, name)) |
1795 ui.write('Renaming %s to %s\n' % (patch, name)) |
1796 i = q.find_series(patch) |
1796 i = q.find_series(patch) |
1797 q.full_series[i] = name |
1797 guards = q.guard_re.findall(q.full_series[i]) |
|
1798 q.full_series[i] = name + ''.join([' #' + g for g in guards]) |
1798 q.parse_series() |
1799 q.parse_series() |
1799 q.series_dirty = 1 |
1800 q.series_dirty = 1 |
1800 |
1801 |
1801 info = q.isapplied(patch) |
1802 info = q.isapplied(patch) |
1802 if info: |
1803 if info: |