Show More
@@ -248,7 +248,8 b' def _narrow(ui, repo, remote, commoninc,' | |||
|
248 | 248 | |
|
249 | 249 | repo.destroyed() |
|
250 | 250 | |
|
251 |
def _widen(ui, repo, remote, commoninc, |
|
|
251 | def _widen(ui, repo, remote, commoninc, oldincludes, oldexcludes, | |
|
252 | newincludes, newexcludes): | |
|
252 | 253 | newmatch = narrowspec.match(repo.root, newincludes, newexcludes) |
|
253 | 254 | |
|
254 | 255 | # for now we assume that if a server has ellipses enabled, we will be |
@@ -433,6 +434,7 b' def trackedcmd(ui, repo, remotepath=None' | |||
|
433 | 434 | if widening: |
|
434 | 435 | newincludes = oldincludes | addedincludes |
|
435 | 436 | newexcludes = oldexcludes - removedexcludes |
|
436 |
_widen(ui, repo, remote, commoninc, |
|
|
437 | _widen(ui, repo, remote, commoninc, oldincludes, oldexcludes, | |
|
438 | newincludes, newexcludes) | |
|
437 | 439 | |
|
438 | 440 | return 0 |
General Comments 0
You need to be logged in to leave comments.
Login now