Mercurial > public > mercurial-scm > hg
comparison mercurial/revset.py @ 46966:1e2f2c782928
revset: drop an outdated comment
There is not `ui.expandpath` call there anymore.
Differential Revision: https://phab.mercurial-scm.org/D10435
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 15 Apr 2021 09:59:12 +0200 |
parents | c5c2936f6fb2 |
children | a407fe56d6e8 |
comparison
equal
deleted
inserted
replaced
46965:b03527bdac01 | 46966:1e2f2c782928 |
---|---|
1854 # i18n: "outgoing" is a keyword | 1854 # i18n: "outgoing" is a keyword |
1855 dest = ( | 1855 dest = ( |
1856 l and getstring(l[0], _(b"outgoing requires a repository path")) or b'' | 1856 l and getstring(l[0], _(b"outgoing requires a repository path")) or b'' |
1857 ) | 1857 ) |
1858 if dest: | 1858 if dest: |
1859 # ui.getpath() explicitly tests for None, not just a boolean | |
1860 dests = [dest] | 1859 dests = [dest] |
1861 else: | 1860 else: |
1862 dests = [] | 1861 dests = [] |
1863 missing = set() | 1862 missing = set() |
1864 for path in urlutil.get_push_paths(repo, repo.ui, dests): | 1863 for path in urlutil.get_push_paths(repo, repo.ui, dests): |