Show More
@@ -855,8 +855,13 b' def parents(ui, repo, rev=None):' | |||
|
855 | 855 | if n != hg.nullid: |
|
856 | 856 | show_changeset(ui, repo, changenode=n) |
|
857 | 857 | |
|
858 |
def paths(ui |
|
|
858 | def paths(ui, search = None): | |
|
859 | 859 | """show path or list of available paths""" |
|
860 | try: | |
|
861 | repo = hg.repository(ui=ui) | |
|
862 | except: | |
|
863 | pass | |
|
864 | ||
|
860 | 865 | if search: |
|
861 | 866 | for name, path in ui.configitems("paths"): |
|
862 | 867 | if name == search: |
@@ -1373,7 +1378,7 b" globalopts = [('v', 'verbose', None, 've" | |||
|
1373 | 1378 | ('', 'time', None, 'time how long the command takes'), |
|
1374 | 1379 | ] |
|
1375 | 1380 | |
|
1376 | norepo = "clone init version help debugindex debugindexdot" | |
|
1381 | norepo = "clone init version help debugindex debugindexdot paths" | |
|
1377 | 1382 | |
|
1378 | 1383 | def find(cmd): |
|
1379 | 1384 | for e in table.keys(): |
General Comments 0
You need to be logged in to leave comments.
Login now