Please describe the problem.
When running "git annex test" in a Powershell window, two tests fail (listed in additional details). I am assuming it is because it is using powershell internal commands instead of msys utilities, at least in the case of the "mv" failure. Specifying "mv.exe" instead of just "mv" on Windows should work.
What steps will reproduce the problem?
Run "git annex test" from the powershell prompt. Two tests fail. All tests pass when run through cmd.
What version of git-annex are you using? On what operating system?
Windows 7 Enterprise SP1 Powershell version 4.0 git version 1.9.5.msysgit.1 git annex I think is 5.20150617, but I don't know for sure.
Please provide any additional information below.
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
addurl failed on file:///ws/wcs-project-new/.t/tmprepo5/myurl
"mv": cannot move `C:\\Users\\duffrw\\LOCALS~1\\Temp\\importtest.0\\import1\\f' to `import1\\f12956.tmp'
git-annex: MoveFileEx "C:\\Users\\duffrw\\LOCALS~1\\Temp\\importtest.0\\import1\\f" "import1\\f": unsupported operation (The system cannot move the file to a different disk drive.)
# End of transcript or log.
The "cannot move" message is not an error message from an external "mv" command. This error comes from Win32.moveFileEx, which fails on cross-device renames.
The import problem can be reproduced by running git annex import on a different drive in Windows. No powershell needed; it does fall back to the external mv command, but that fails for some reason. Was unable to determine why (running the same mv at the command line works ok). Fixed for Windows by avoiding using the external mv command there.
Still need more details about the addurl failure. AFAICS, it does not involve "mv" at all. Probably it involves the generated file:// url not working for some reason. What drive and path did you run the test suite in?