Crash editing ignore filter on a mapped network drive
Created originally on Bitbucket by Anonymous
To repeat:
-
Map a drive letter to a network share
-
Create an empty folder on that share
-
Create a dummy text file in the folder
-
"Create Repository Here" with the default options
-
"Edit Ignore Filter"
None of the button in the ignore filter dialog work and the Unknown files list does not list the dummy text file. On closing the dialog you get the error below. If you use a local hard drive instead of a network share, no errors occur.
{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/stable/issues or tortoisehg-discuss@lists.sourceforge.net ** Mercurial version (1.7.2). TortoiseHg version (1.1.7) ** Command: --nofork hgignore ** CWD: S:\Clients\test ** Extensions loaded: fixfrozenexts ** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] ** sys.getwindowsversion(): (6, 1, 7600, 2, '') ** Processor architecture: x64 Recoverable runtime error (stderr): Traceback (most recent call last): File "tortoisehg\hgtk\gtklib.pyo", line 1137, in call File "tortoisehg\hgtk\hgignore.pyo", line 227, in refresh File "mercurial\localrepo.pyo", line 1123, in status File "mercurial\dirstate.pyo", line 643, in status File "mercurial\dirstate.pyo", line 520, in walk File "mercurial\dirstate.pyo", line 369, in _normalize File "mercurial\util.pyo", line 664, in fspath WindowsError: [Error 3] The system cannot find the path specified: 's:\clients\test/.'
}}}