equal
deleted
inserted
replaced
128 raise error.RepoLookupError(_(b"unknown branch '%s'") % branch) |
128 raise error.RepoLookupError(_(b"unknown branch '%s'") % branch) |
129 if hashbranch: |
129 if hashbranch: |
130 if not primary(hashbranch): |
130 if not primary(hashbranch): |
131 revs.append(hashbranch) |
131 revs.append(hashbranch) |
132 return revs, revs[0] |
132 return revs, revs[0] |
133 |
|
134 |
|
135 def parseurl(path, branches=None): |
|
136 '''parse url#branch, returning (url, (branch, branches))''' |
|
137 msg = b'parseurl(...) moved to mercurial.utils.urlutil' |
|
138 util.nouideprecwarn(msg, b'6.0', stacklevel=2) |
|
139 return urlutil.parseurl(path, branches=branches) |
|
140 |
133 |
141 |
134 |
142 schemes = { |
135 schemes = { |
143 b'bundle': bundlerepo, |
136 b'bundle': bundlerepo, |
144 b'union': unionrepo, |
137 b'union': unionrepo, |