equal
deleted
inserted
replaced
3759 |
3759 |
3760 See :hg:`help urls` for more information. |
3760 See :hg:`help urls` for more information. |
3761 |
3761 |
3762 Returns 0 on success. |
3762 Returns 0 on success. |
3763 """ |
3763 """ |
|
3764 ui.pager('paths') |
3764 if search: |
3765 if search: |
3765 pathitems = [(name, path) for name, path in ui.paths.iteritems() |
3766 pathitems = [(name, path) for name, path in ui.paths.iteritems() |
3766 if name == search] |
3767 if name == search] |
3767 else: |
3768 else: |
3768 pathitems = sorted(ui.paths.iteritems()) |
3769 pathitems = sorted(ui.paths.iteritems()) |