每次我做一個commit
,我得到....任何人都知道TortoiseHg錯誤:「中止:默認存儲庫未配置!」?
abort: default repository not configured! hint: see the path section in the "hg help config"
[Code 255]
..所以我鍵入hg help config
和它顯然並沒有真正有一個「路徑」一節。它有哪些談論配置文件,稱文件部分...
On Windows, the following files are consulted:
- "<repo>/.hg/hgrc" (per-repository)
- "%USERPROFILE%\.hgrc" (per-user)
- "%USERPROFILE%\Mercurial.ini" (per-user)
- "%HOME%\.hgrc" (per-user)
- "%HOME%\Mercurial.ini" (per-user)
- "<install-dir>\Mercurial.ini" (per-installation)
- "<install-dir>\hgrc.d\*.rc" (per-installation)
- "HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial" (per-installation)
- "<internal>/default.d/*.rc" (defaults)
...所以我看在我/.hg/hgrc
文件,我看到:
[paths] default = M:\Workspaces\AziGamma
這是我的父文件夾的路徑。
我還不清楚我該如何解決這個錯誤。歡迎任何建議。