equal
deleted
inserted
replaced
207 |
207 |
208 def warn(files, msg): |
208 def warn(files, msg): |
209 for f in files: |
209 for f in files: |
210 ui.warn(msg % m.rel(f)) |
210 ui.warn(msg % m.rel(f)) |
211 return int(len(files) > 0) |
211 return int(len(files) > 0) |
212 |
|
213 result = 0 |
|
214 |
212 |
215 if after: |
213 if after: |
216 remove = deleted |
214 remove = deleted |
217 result = warn(modified + added + clean, |
215 result = warn(modified + added + clean, |
218 _('not removing %s: file still exists\n')) |
216 _('not removing %s: file still exists\n')) |