Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用 PyCharm,但发现无法从本地 Mercurial 存储库中签出或克隆。
在Clone Mercurial Repository对话框中,您可以放置一个要从中克隆的 URL,并且可以与 HTTP URL 一起使用,但我对如何从本地存储库执行此操作一无所知。
Clone Mercurial Repository
我试过把file://绝对路径放在前面,但 PyCharm 一直告诉我在那里找不到存储库,所以我必须打开控制台、克隆、设置项目等。
file://
必须有一种方法,我使用过的所有其他 IDE 都允许这样做
谢谢并恭祝安康!
这个对我有用:
它不需要“file://”,只需输入路径即可。您使用的是 Windows 还是 Linux/Mac?
也许,您使用“tilda”符号 (~) 作为主目录?此对话框不理解 tildas。
另请注意,您必须指定 Mercurial 根目录的路径,而不是“.hg”目录本身。
请分享您的路径,以便我们可以看到,那里可能会被错误地对待。