##// END OF EJS Templates
path: pass `path` to `peer` in `hg identify`...
marmoute -
r50618:970491e6 default
parent child Browse files
Show More
@@ -3911,12 +3911,11 b' def identify('
3911 peer = None
3911 peer = None
3912 try:
3912 try:
3913 if source:
3913 if source:
3914 source, branches = urlutil.get_unique_pull_path(
3914 path = urlutil.get_unique_pull_path_obj(b'identify', ui, source)
3915 b'identify', repo, ui, source
3916 )
3917 # only pass ui when no repo
3915 # only pass ui when no repo
3918 peer = hg.peer(repo or ui, opts, source)
3916 peer = hg.peer(repo or ui, opts, path)
3919 repo = peer.local()
3917 repo = peer.local()
3918 branches = (path.branch, [])
3920 revs, checkout = hg.addbranchrevs(repo, peer, branches, None)
3919 revs, checkout = hg.addbranchrevs(repo, peer, branches, None)
3921
3920
3922 fm = ui.formatter(b'identify', opts)
3921 fm = ui.formatter(b'identify', opts)
General Comments 0
You need to be logged in to leave comments. Login now