hgext/largefiles/overrides.py
changeset 41365 876494fd967d
parent 41067 f2601cbce209
child 41578 8d1dc380b026
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
   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'))