hgext/mq.py
changeset 3566 4d97184a06ad
parent 3557 68341c06bc61
child 3568 23f7d9621783
equal deleted inserted replaced
3565:549cb7b640fb 3566:4d97184a06ad
  1013                     continue
  1013                     continue
  1014                 elif x in mm:
  1014                 elif x in mm:
  1015                     del mm[mm.index(x)]
  1015                     del mm[mm.index(x)]
  1016                 dd.append(x)
  1016                 dd.append(x)
  1017 
  1017 
  1018             m = list(util.unique(mm))
  1018             m = util.unique(mm)
  1019             r = list(util.unique(dd))
  1019             r = util.unique(dd)
  1020             a = list(util.unique(aa))
  1020             a = util.unique(aa)
  1021             filelist = filter(matchfn, util.unique(m + r + a))
  1021             filelist = filter(matchfn, util.unique(m + r + a))
  1022             if opts.get('git'):
  1022             if opts.get('git'):
  1023                 self.diffopts().git = True
  1023                 self.diffopts().git = True
  1024             patch.diff(repo, patchparent, files=filelist, match=matchfn,
  1024             patch.diff(repo, patchparent, files=filelist, match=matchfn,
  1025                        fp=patchf, changes=(m, a, r, [], u),
  1025                        fp=patchf, changes=(m, a, r, [], u),