##// 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 narrowcommands,
29 narrowcommands,
30 narrowcopies,
30 narrowcopies,
31 narrowdirstate,
31 narrowdirstate,
32 narrowmerge,
33 narrowpatch,
32 narrowpatch,
34 narrowrepo,
33 narrowrepo,
35 narrowrevlog,
34 narrowrevlog,
@@ -64,7 +63,6 b' def uisetup(ui):'
64 localrepo.featuresetupfuncs.add(featuresetup)
63 localrepo.featuresetupfuncs.add(featuresetup)
65 narrowrevlog.setup()
64 narrowrevlog.setup()
66 narrowbundle2.setup()
65 narrowbundle2.setup()
67 narrowmerge.setup()
68 narrowcommands.setup()
66 narrowcommands.setup()
69 narrowchangegroup.setup()
67 narrowchangegroup.setup()
70 narrowwirepeer.uisetup()
68 narrowwirepeer.uisetup()
@@ -254,6 +254,11 b' def _computenonoverlap(repo, c1, c2, add'
254 repo.ui.debug("%s:\n %s\n" % (header % 'local', "\n ".join(u1)))
254 repo.ui.debug("%s:\n %s\n" % (header % 'local', "\n ".join(u1)))
255 if u2:
255 if u2:
256 repo.ui.debug("%s:\n %s\n" % (header % 'other', "\n ".join(u2)))
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 return u1, u2
262 return u1, u2
258
263
259 def _makegetfctx(ctx):
264 def _makegetfctx(ctx):
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now