##// END OF EJS Templates
paths: reorder else clause for readability of subsequent patches...
Yuya Nishihara -
r27725:64ee5866 default
parent child Browse files
Show More
@@ -5407,12 +5407,13 b' def paths(ui, repo, search=None):'
5407 ui.warn(_("not found!\n"))
5407 ui.warn(_("not found!\n"))
5408 return 1
5408 return 1
5409 else:
5409 else:
5410 for name, path in sorted(ui.paths.iteritems()):
5410 pathitems = sorted(ui.paths.iteritems())
5411
5412 for name, path in pathitems:
5411 if ui.quiet:
5413 if ui.quiet:
5412 ui.write("%s\n" % name)
5414 ui.write("%s\n" % name)
5413 else:
5415 else:
5414 ui.write("%s = %s\n" % (name,
5416 ui.write("%s = %s\n" % (name, util.hidepassword(path.rawloc)))
5415 util.hidepassword(path.rawloc)))
5416 for subopt, value in sorted(path.suboptions.items()):
5417 for subopt, value in sorted(path.suboptions.items()):
5417 ui.write('%s:%s = %s\n' % (name, subopt, value))
5418 ui.write('%s:%s = %s\n' % (name, subopt, value))
5418
5419
General Comments 0
You need to be logged in to leave comments. Login now