Show More
@@ -1907,6 +1907,7 b' def applynarrowacl(repo, kwargs):' | |||
|
1907 | 1907 | new_args = {} |
|
1908 | 1908 | new_args.update(kwargs) |
|
1909 | 1909 | new_args[r'narrow'] = True |
|
1910 | new_args[r'narrow_acl'] = True | |
|
1910 | 1911 | new_args[r'includepats'] = req_includes |
|
1911 | 1912 | if req_excludes: |
|
1912 | 1913 | new_args[r'excludepats'] = req_excludes |
@@ -2171,7 +2172,8 b' def _getbundlechangegrouppart(bundler, r' | |||
|
2171 | 2172 | if 'treemanifest' in repo.requirements: |
|
2172 | 2173 | part.addparam('treemanifest', '1') |
|
2173 | 2174 | |
|
2174 |
if kwargs.get(r'narrow', False) and ( |
|
|
2175 | if (kwargs.get(r'narrow', False) and kwargs.get('narrow_acl', False) | |
|
2176 | and (include or exclude)): | |
|
2175 | 2177 | narrowspecpart = bundler.newpart('narrow:spec') |
|
2176 | 2178 | if include: |
|
2177 | 2179 | narrowspecpart.addparam( |
@@ -86,7 +86,6 b' Rebase interrupts on conflicting changes' | |||
|
86 | 86 | |
|
87 | 87 | $ hg update -q 'desc("conflicting outside/f1")' |
|
88 | 88 | $ hg phase -f -d . |
|
89 | no phases changed | |
|
90 | 89 | $ hg rebase -d 'desc("modify outside/f1")' |
|
91 | 90 | rebasing 4:707c035aadb6 "conflicting outside/f1" |
|
92 | 91 | abort: conflict in file 'outside/f1' is outside narrow clone |
@@ -137,7 +137,6 b' Pull down the newly added upstream revis' | |||
|
137 | 137 | adding file changes |
|
138 | 138 | added 5 changesets with 4 changes to 2 files |
|
139 | 139 | new changesets *:* (glob) |
|
140 | 3 local changesets published | |
|
141 | 140 | (run 'hg update' to get a working copy) |
|
142 | 141 | $ hg update -r 'desc("add wider")' |
|
143 | 142 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now