##// 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,14 +5407,15 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 if ui.quiet:
5411
5412 ui.write("%s\n" % name)
5412 for name, path in pathitems:
5413 else:
5413 if ui.quiet:
5414 ui.write("%s = %s\n" % (name,
5414 ui.write("%s\n" % name)
5415 util.hidepassword(path.rawloc)))
5415 else:
5416 for subopt, value in sorted(path.suboptions.items()):
5416 ui.write("%s = %s\n" % (name, util.hidepassword(path.rawloc)))
5417 ui.write('%s:%s = %s\n' % (name, subopt, value))
5417 for subopt, value in sorted(path.suboptions.items()):
5418 ui.write('%s:%s = %s\n' % (name, subopt, value))
5418
5419
5419 @command('phase',
5420 @command('phase',
5420 [('p', 'public', False, _('set changeset phase to public')),
5421 [('p', 'public', False, _('set changeset phase to public')),
General Comments 0
You need to be logged in to leave comments. Login now