user593358
user593358

Reputation:

Mercurial: Can I mix slashes and backslashes in paths?

Are the following paths valid? Could they cause malfunction of Mercurial?

mercurial.ini file:

[ui]
ignore = ~\file/hgignore.ini

mercurial.ini file:

[ui]
ignore = .\file/hgignore.ini

hgrc file:

[paths]
default = D:\MySolution/MyProject

Upvotes: 2

Views: 109

Answers (1)

VonC
VonC

Reputation: 1326366

It shouldn't be an issue in hgrc.

It can be an issue in hgsub, for path to subrepos.

Upvotes: 1

Related Questions