equal
deleted
inserted
replaced
5220 fm.condwrite(not ui.quiet, b'url', b'%s\n', hidepassword(path.rawloc)) |
5220 fm.condwrite(not ui.quiet, b'url', b'%s\n', hidepassword(path.rawloc)) |
5221 for subopt, value in sorted(path.suboptions.items()): |
5221 for subopt, value in sorted(path.suboptions.items()): |
5222 assert subopt not in (b'name', b'url') |
5222 assert subopt not in (b'name', b'url') |
5223 if showsubopts: |
5223 if showsubopts: |
5224 fm.plain(b'%s:%s = ' % (name, subopt)) |
5224 fm.plain(b'%s:%s = ' % (name, subopt)) |
5225 if isinstance(value, bool): |
5225 display = urlutil.path_suboptions_display[subopt] |
5226 if value: |
5226 value = display(value) |
5227 value = b'yes' |
|
5228 else: |
|
5229 value = b'no' |
|
5230 fm.condwrite(showsubopts, subopt, b'%s\n', value) |
5227 fm.condwrite(showsubopts, subopt, b'%s\n', value) |
5231 |
5228 |
5232 fm.end() |
5229 fm.end() |
5233 |
5230 |
5234 if search and not pathitems: |
5231 if search and not pathitems: |