Show More
@@ -1954,13 +1954,13 b' def paths(ui, repo, search=None):' | |||||
1954 | if search: |
|
1954 | if search: | |
1955 | for name, path in ui.configitems("paths"): |
|
1955 | for name, path in ui.configitems("paths"): | |
1956 | if name == search: |
|
1956 | if name == search: | |
1957 | ui.write("%s\n" % path) |
|
1957 | ui.write("%s\n" % util.hidepassword(path)) | |
1958 | return |
|
1958 | return | |
1959 | ui.warn(_("not found!\n")) |
|
1959 | ui.warn(_("not found!\n")) | |
1960 | return 1 |
|
1960 | return 1 | |
1961 | else: |
|
1961 | else: | |
1962 | for name, path in ui.configitems("paths"): |
|
1962 | for name, path in ui.configitems("paths"): | |
1963 | ui.write("%s = %s\n" % (name, path)) |
|
1963 | ui.write("%s = %s\n" % (name, util.hidepassword(path))) | |
1964 |
|
1964 | |||
1965 | def postincoming(ui, repo, modheads, optupdate, checkout): |
|
1965 | def postincoming(ui, repo, modheads, optupdate, checkout): | |
1966 | if modheads == 0: |
|
1966 | if modheads == 0: |
General Comments 0
You need to be logged in to leave comments.
Login now