Not using os.path.* functions can cause problem on windows which led to failure
of test-status-terse.t on windows. This patch make sure we use them.
Details
Details
- Reviewers
yuja pulkit - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
@mharbison72 I didn't has access to windows machine but I think this should solve the issue, apart from test failure related to different separator which we can glob out. Please test it and let me know whether it works or not.
Comment Actions
No joy. But it looks like you can use '/' unconditionally, because scmutil.status paths are in repo normalized format. I'll send a patch.
I think there's something else goofy here:
$ ../hg st -c --terse c ../mercurial/help/
C ..\mercurial\
I'd expect the output to be:
$ ../hg st -c --terse c ../mercurial/help/
C ..\mercurial\help
I can write up another bug if you don't have any ideas off the top of your head.