##// END OF EJS Templates
narrow: filter copies in core...
Martin von Zweigbergk -
r38057:ee7b6fa5 default
parent child Browse files
Show More
@@ -29,7 +29,6 b' from . import ('
29 29 narrowcommands,
30 30 narrowcopies,
31 31 narrowdirstate,
32 narrowmerge,
33 32 narrowpatch,
34 33 narrowrepo,
35 34 narrowrevlog,
@@ -64,7 +63,6 b' def uisetup(ui):'
64 63 localrepo.featuresetupfuncs.add(featuresetup)
65 64 narrowrevlog.setup()
66 65 narrowbundle2.setup()
67 narrowmerge.setup()
68 66 narrowcommands.setup()
69 67 narrowchangegroup.setup()
70 68 narrowwirepeer.uisetup()
@@ -254,6 +254,11 b' def _computenonoverlap(repo, c1, c2, add'
254 254 repo.ui.debug("%s:\n %s\n" % (header % 'local', "\n ".join(u1)))
255 255 if u2:
256 256 repo.ui.debug("%s:\n %s\n" % (header % 'other', "\n ".join(u2)))
257
258 narrowmatch = repo.narrowmatch()
259 if not narrowmatch.always():
260 u1 = [f for f in u1 if narrowmatch(f)]
261 u2 = [f for f in u2 if narrowmatch(f)]
257 262 return u1, u2
258 263
259 264 def _makegetfctx(ctx):
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now