I put the helper in scmutil so it can be used by most modules. I would
have put it in utils.pathutil, but I think that's supposed to be
unaware of repos.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGe6ec0737b706: status: extract helper for producing relative or absolute path for UI
rHGa997163e7fae: status: extract helper for producing relative or absolute path for UI
rHG1d6eae696cf1: status: extract helper for producing relative or absolute path for UI
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
mercurial/commands.py | ||
---|---|---|
5417 | 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 :. |
Comment Actions
+ 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 :.
Fixed, thanks.
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 :.