D5745: status: extract helper for producing relative or absolute path for UI
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Sat Feb 2 03:36:12 UTC 2019
mharbison72 added inline comments.
INLINE COMMENTS
> commands.py:5417
>
> - if pats or ui.configbool('commands', 'status.relative'):
> - cwd = repo.getcwd()
> - else:
> - cwd = ''
> + relative = pats or ui.configbool('commands', 'status.relative'):
> + uipathfn = scmutil.getuipathfn(repo, relative)
Not sure if it's worth fixing the syntax error here before it goes public. I only noticed because I was bisecting a test failure. The next patch drops the trailing `:`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5745
To: martinvonz, #hg-reviewers, pulkit
Cc: mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list