mercurial/merge.py
changeset 18336 77973b6a7b0b
parent 18335 435909bf0257
child 18338 384df4db6520
equal deleted inserted replaced
18335:435909bf0257 18336:77973b6a7b0b
   372     numupdates = len(actions)
   372     numupdates = len(actions)
   373     for i, a in enumerate(actions):
   373     for i, a in enumerate(actions):
   374         f, m = a[:2]
   374         f, m = a[:2]
   375         repo.ui.progress(_('updating'), i + 1, item=f, total=numupdates,
   375         repo.ui.progress(_('updating'), i + 1, item=f, total=numupdates,
   376                          unit=_('files'))
   376                          unit=_('files'))
   377         if f and f[0] == "/":
       
   378             continue
       
   379         if m == "r": # remove
   377         if m == "r": # remove
   380             repo.ui.note(_("removing %s\n") % f)
   378             repo.ui.note(_("removing %s\n") % f)
   381             audit(f)
   379             audit(f)
   382             if f == '.hgsubstate': # subrepo states need updating
   380             if f == '.hgsubstate': # subrepo states need updating
   383                 subrepo.submerge(repo, wctx, mctx, wctx, overwrite)
   381                 subrepo.submerge(repo, wctx, mctx, wctx, overwrite)